Udostępnij za pośrednictwem


ServiceBusQueueAuthorizationRuleCollection.GetAllAsync Method

Definition

Gets all authorization rules for a queue.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to