Share via


ServiceBusDisasterRecoveryAuthorizationRuleCollection.GetAll 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: 2024-01-01
  • Resource: ServiceBusDisasterRecoveryAuthorizationRuleResource
public virtual Azure.Pageable<Azure.ResourceManager.ServiceBus.ServiceBusDisasterRecoveryAuthorizationRuleResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ServiceBus.ServiceBusDisasterRecoveryAuthorizationRuleResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ServiceBus.ServiceBusDisasterRecoveryAuthorizationRuleResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ServiceBusDisasterRecoveryAuthorizationRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to