Aracılığıyla paylaş


ServiceBusNamespaceAuthorizationRuleCollection.GetAllAsync Method

Definition

Gets the authorization rules for a namespace.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to