Share via


EventHubsDisasterRecoveryAuthorizationRuleCollection.GetAllAsync Method

Definition

Gets a list of authorization rules for a Namespace.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to