Dela via


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to