共用方式為


FailoverGroupCollection.GetAllAsync(CancellationToken) Method

Definition

Lists the failover groups in a server.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to