Share via


EventHubsNamespaceAuthorizationRuleCollection.GetAll 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.Pageable<Azure.ResourceManager.EventHubs.EventHubsNamespaceAuthorizationRuleResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.EventHubs.EventHubsNamespaceAuthorizationRuleResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.EventHubs.EventHubsNamespaceAuthorizationRuleResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of EventHubsNamespaceAuthorizationRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to