InstanceFailoverGroupCollection Class

Definition

A class representing a collection of InstanceFailoverGroupResource and their operations. Each InstanceFailoverGroupResource in the collection will belong to the same instance of ResourceGroupResource. To get an InstanceFailoverGroupCollection instance call the GetInstanceFailoverGroups method from an instance of ResourceGroupResource.

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

Constructors

InstanceFailoverGroupCollection()

Initializes a new instance of the InstanceFailoverGroupCollection 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, InstanceFailoverGroupData, CancellationToken)

Creates or updates a failover group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups/{failoverGroupName}
  • Operation Id: InstanceFailoverGroups_CreateOrUpdate
  • Default Api Version: 2022-05-01-preview
  • Resource: InstanceFailoverGroupResource
CreateOrUpdateAsync(WaitUntil, String, InstanceFailoverGroupData, CancellationToken)

Creates or updates a failover group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups/{failoverGroupName}
  • Operation Id: InstanceFailoverGroups_CreateOrUpdate
  • Default Api Version: 2022-05-01-preview
  • Resource: InstanceFailoverGroupResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups/{failoverGroupName}
  • Operation Id: InstanceFailoverGroups_Get
  • Default Api Version: 2022-05-01-preview
  • Resource: InstanceFailoverGroupResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups/{failoverGroupName}
  • Operation Id: InstanceFailoverGroups_Get
  • Default Api Version: 2022-05-01-preview
  • Resource: InstanceFailoverGroupResource
Get(String, CancellationToken)

Gets a failover group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups/{failoverGroupName}
  • Operation Id: InstanceFailoverGroups_Get
  • Default Api Version: 2022-05-01-preview
  • Resource: InstanceFailoverGroupResource
GetAll(CancellationToken)

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

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

Gets a failover group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups/{failoverGroupName}
  • Operation Id: InstanceFailoverGroups_Get
  • Default Api Version: 2022-05-01-preview
  • Resource: InstanceFailoverGroupResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups/{failoverGroupName}
  • Operation Id: InstanceFailoverGroups_Get
  • Default Api Version: 2022-05-01-preview
  • Resource: InstanceFailoverGroupResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups/{failoverGroupName}
  • Operation Id: InstanceFailoverGroups_Get
  • Default Api Version: 2022-05-01-preview
  • Resource: InstanceFailoverGroupResource
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<InstanceFailoverGroupResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<InstanceFailoverGroupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to