DistributedAvailabilityGroupCollection.GetAll(CancellationToken) Method

Definition

Gets a list of a distributed availability groups in instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/distributedAvailabilityGroups
  • Operation Id: DistributedAvailabilityGroups_ListByInstance
  • Default Api Version: 2021-11-01-preview
  • Resource: DistributedAvailabilityGroupResource
public virtual Azure.Pageable<Azure.ResourceManager.Sql.DistributedAvailabilityGroupResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.DistributedAvailabilityGroupResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.DistributedAvailabilityGroupResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DistributedAvailabilityGroupResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to