Condividi tramite


InstanceFailoverGroupCollection.GetAllAsync(CancellationToken) Method

Definition

Lists the failover groups in a location.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups
  • Operation Id: InstanceFailoverGroups_ListByLocation
  • Default Api Version: 2022-05-01-preview
  • Resource: InstanceFailoverGroupResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.InstanceFailoverGroupResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.InstanceFailoverGroupResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.InstanceFailoverGroupResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of InstanceFailoverGroupResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to