共用方式為


InstanceFailoverGroupCollection.GetAll(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.Pageable<Azure.ResourceManager.Sql.InstanceFailoverGroupResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.InstanceFailoverGroupResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.InstanceFailoverGroupResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of InstanceFailoverGroupResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to