The AMQP connection.
A unique string (usually a guid) per connection.
Closes the AMQP cbs session to the EventHub/ServiceBus for this client, returning a promise that will be resolved when disconnection is completed.
Creates a singleton instance of the CBS session if it hasn't been initialized previously on the given connection.
Promise
Negotiates the CBS claim with the EventHub/ServiceBus Service.
The entity token audience for which the token is requested in one of the following forms:
ServiceBus
Sender
"sb://<yournamespace>.servicebus.windows.net/<queue-name>"
"sb://<yournamespace>.servicebus.windows.net/<topic-name>"
Receiver
"sb://<yournamespace>.servicebus.windows.net/<queue-name>"
"sb://<yournamespace>.servicebus.windows.net/<topic-name>"
ManagementClient
"sb://<your-namespace>.servicebus.windows.net/<queue-name>/$management"
."sb://<your-namespace>.servicebus.windows.net/<topic-name>/$management"
.EventHubs
Sender
"sb://<yournamespace>.servicebus.windows.net/<hubName>"
"sb://<yournamespace>.servicebus.windows.net/<hubName>/Partitions/<partitionId>"
.Receiver
"sb://<your-namespace>.servicebus.windows.net/<event-hub-name>/ConsumerGroups/<consumer-group-name>/Partitions/<partition-id>"
.ManagementClient
"sb://<your-namespace>.servicebus.windows.net/<event-hub-name>/$management"
.The token that needs to be sent in the put-token request.
Returns a Promise that resolves when $cbs authentication is successful and rejects when an error occurs during $cbs authentication.
Removes the AMQP cbs session to the EventHub/ServiceBus for this client,
void
Generated using TypeDoc