Initializes a new instance of the ServiceBusAdministrationClient class.
The connection string needed for the client to connect to Azure.
PipelineOptions
Initializes a new instance of the ServiceBusAdministrationClient class.
The fully qualified namespace of your Service Bus instance which is
likely to be similar to
A credential object used by the client to get the token to authenticate the connection
with the Azure Service Bus. See @azure/identity for creating the credentials.
If you're using your own implementation of the TokenCredential
interface against AAD, then set the "scopes" for service-bus
to be ["https://servicebus.azure.net//user_impersonation"]
to get the appropriate token.
PipelineOptions
Creates a queue with given name, configured using the given options
Options to configure the Queue being created(For example, you can configure a queue to support partitions or sessions) and the operation options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Creates a rule with given name, configured using the given options.
Defines the filter expression that the rule evaluates.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Creates a rule with given name, configured using the given options.
Defines the filter expression that the rule evaluates.
The SQL like expression that can be executed on the message should the associated filter apply.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Creates a subscription with given name, configured using the given options
Options to configure the Subscription being created(For example, you can configure a Subscription to support partitions or sessions) and the operation options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Creates a topic with given name, configured using the given options
Options to configure the Topic being created(For example, you can configure a topic to support partitions) and the operation options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Deletes a queue.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Deletes a rule.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Deletes a subscription.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Deletes a topic.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Returns an object representing the metadata related to a service bus namespace.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Returns an object representing the Queue and its properties.
If you want to get the Queue runtime info like message count details, use getQueueRuntimeProperties
API.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Returns an object representing the Queue runtime info like message count details.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Returns an object representing the Rule with the given name along with all its properties.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Returns an object representing the Subscription and its properties.
If you want to get the Subscription runtime info like message count details, use getSubscriptionRuntimeProperties
API.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Returns an object representing the Subscription runtime info like message count details.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Returns an object representing the Topic and its properties.
If you want to get the Topic runtime info like subscription count details, use getTopicRuntimeProperties
API.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Returns an object representing the Topic runtime info like subscription count.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Returns an async iterable iterator to list all the queues.
.byPage() returns an async iterable iterator to list the queues in pages.
{PagedAsyncIterableIterator<
QueueProperties,
EntitiesResponse
} An asyncIterableIterator that supports paging.
Returns an async iterable iterator to list runtime info of the queues.
.byPage() returns an async iterable iterator to list runtime info of the queues in pages.
{PagedAsyncIterableIterator<
QueueRuntimeProperties,
EntitiesResponse
} An asyncIterableIterator that supports paging.
Returns an async iterable iterator to list all the rules under the specified subscription.
.byPage() returns an async iterable iterator to list the rules in pages.
An asyncIterableIterator that supports paging.
Returns an async iterable iterator to list all the subscriptions under the specified topic.
.byPage() returns an async iterable iterator to list the subscriptions in pages.
{PagedAsyncIterableIterator<
SubscriptionProperties,
EntitiesResponse
} An asyncIterableIterator that supports paging.
Returns an async iterable iterator to list runtime info of the subscriptions under the specified topic.
.byPage() returns an async iterable iterator to list runtime info of subscriptions in pages.
{PagedAsyncIterableIterator<
SubscriptionRuntimeProperties,
EntitiesResponse
} An asyncIterableIterator that supports paging.
Returns an async iterable iterator to list all the topics.
.byPage() returns an async iterable iterator to list the topics in pages.
{PagedAsyncIterableIterator<
TopicProperties,
EntitiesResponse
} An asyncIterableIterator that supports paging.
Returns an async iterable iterator to list runtime info of the topics.
.byPage() returns an async iterable iterator to list runtime info of the topics in pages.
{PagedAsyncIterableIterator<
TopicRuntimeProperties,
EntitiesResponse
} An asyncIterableIterator that supports paging.
Checks whether a given queue exists or not.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Checks whether a given rule exists or not.
Checks whether a given subscription exists in the topic or not.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Checks whether a given topic exists or not.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Updates the queue based on the queue properties provided.
All queue properties must be set even though only a subset of them are actually updatable.
Therefore, the suggested flow is to use getQueue()
to get the complete set of queue properties,
update as needed and then pass it to updateQueue()
.
See https://docs.microsoft.com/rest/api/servicebus/update-queue for more details.
Object representing the properties of the queue.
requiresSession
, requiresDuplicateDetection
, enablePartitioning
, and name
can't be updated after creating the queue.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Updates properties on the Rule by the given name based on the given options.
All rule properties must be set even if one of them is being updated.
Therefore, the suggested flow is to use getRule()
to get the complete set of rule properties,
update as needed and then pass it to updateRule()
.
Options to configure the Rule being updated. For example, you can configure the filter to apply on associated Topic/Subscription.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Updates the subscription based on the subscription properties provided.
All subscription properties must be set even though only a subset of them are actually updatable.
Therefore, the suggested flow is to use getSubscription()
to get the complete set of subscription properties,
update as needed and then pass it to updateSubscription()
.
Object representing the properties of the subscription.
subscriptionName
, topicName
, and requiresSession
can't be updated after creating the subscription.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Updates the topic based on the topic properties provided.
All topic properties must be set even though only a subset of them are actually updatable.
Therefore, the suggested flow is to use getTopic()
to get the complete set of topic properties,
update as needed and then pass it to updateTopic()
.
See https://docs.microsoft.com/rest/api/servicebus/update-topic for more details.
Object representing the properties of the topic.
requiresDuplicateDetection
, enablePartitioning
, and name
can't be updated after creating the topic.
The options that can be used to abort, trace and control other configurations on the HTTP request.
Following are errors that can be expected from this operation
Generated using TypeDoc
All operations return promises that resolve to an object that has the relevant output. These objects also have a property called
_response
that you can use if you want to access the direct response from the service.