Share via


ServiceBusTopicAuthorizationRuleCollection.GetAllAsync Method

Definition

Gets authorization rules for a topic.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules
  • Operation Id: TopicAuthorizationRules_List
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusTopicAuthorizationRuleResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ServiceBus.ServiceBusTopicAuthorizationRuleResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ServiceBus.ServiceBusTopicAuthorizationRuleResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ServiceBus.ServiceBusTopicAuthorizationRuleResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ServiceBusTopicAuthorizationRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ServiceBusTopicAuthorizationRuleResource that may take multiple service requests to iterate over.

Applies to