Share via


ServiceBusDisasterRecoveryAuthorizationRuleCollection.GetAllAsync Method

Definition

Gets the authorization rules for a namespace.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to