Udostępnij za pośrednictwem


EventHubsNamespaceAuthorizationRuleCollection.GetAllAsync Method

Definition

Gets a list of authorization rules for a Namespace.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to