共用方式為


FailoverGroupCollection Class

Definition

A class representing a collection of FailoverGroupResource and their operations. Each FailoverGroupResource in the collection will belong to the same instance of SqlServerResource. To get a FailoverGroupCollection instance call the GetFailoverGroups method from an instance of SqlServerResource.

public class FailoverGroupCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Sql.FailoverGroupResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.FailoverGroupResource>
type FailoverGroupCollection = class
    inherit ArmCollection
    interface seq<FailoverGroupResource>
    interface IEnumerable
    interface IAsyncEnumerable<FailoverGroupResource>
Public Class FailoverGroupCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of FailoverGroupResource), IEnumerable(Of FailoverGroupResource)
Inheritance
FailoverGroupCollection
Implements

Constructors

FailoverGroupCollection()

Initializes a new instance of the FailoverGroupCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, FailoverGroupData, CancellationToken)

Creates or updates a failover group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups/{failoverGroupName}
  • Operation Id: FailoverGroups_CreateOrUpdate
  • Default Api Version: 2023-05-01-preview
  • Resource: FailoverGroupResource
CreateOrUpdateAsync(WaitUntil, String, FailoverGroupData, CancellationToken)

Creates or updates a failover group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups/{failoverGroupName}
  • Operation Id: FailoverGroups_CreateOrUpdate
  • Default Api Version: 2023-05-01-preview
  • Resource: FailoverGroupResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups/{failoverGroupName}
  • Operation Id: FailoverGroups_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: FailoverGroupResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups/{failoverGroupName}
  • Operation Id: FailoverGroups_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: FailoverGroupResource
Get(String, CancellationToken)

Gets a failover group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups/{failoverGroupName}
  • Operation Id: FailoverGroups_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: FailoverGroupResource
GetAll(CancellationToken)

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
GetAllAsync(CancellationToken)

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
GetAsync(String, CancellationToken)

Gets a failover group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups/{failoverGroupName}
  • Operation Id: FailoverGroups_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: FailoverGroupResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups/{failoverGroupName}
  • Operation Id: FailoverGroups_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: FailoverGroupResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups/{failoverGroupName}
  • Operation Id: FailoverGroups_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: FailoverGroupResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<FailoverGroupResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<FailoverGroupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to