ServiceBusDisasterRecoveryCollection.GetAllAsync(CancellationToken) Method

Definition

Gets all Alias(Disaster Recovery configurations)

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to