Share via


SqlExtensions.GetInstanceFailoverGroups Method

Definition

Gets a collection of InstanceFailoverGroupResources in the ResourceGroupResource. MockingTo mock this method, please mock GetInstanceFailoverGroups(AzureLocation) instead.

public static Azure.ResourceManager.Sql.InstanceFailoverGroupCollection GetInstanceFailoverGroups (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation locationName);
static member GetInstanceFailoverGroups : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation -> Azure.ResourceManager.Sql.InstanceFailoverGroupCollection
<Extension()>
Public Function GetInstanceFailoverGroups (resourceGroupResource As ResourceGroupResource, locationName As AzureLocation) As InstanceFailoverGroupCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

locationName
AzureLocation

The name of the region where the resource is located.

Returns

An object representing collection of InstanceFailoverGroupResources and their operations over a InstanceFailoverGroupResource.

Exceptions

resourceGroupResource is null.

Applies to