SqlExtensions.GetInstanceFailoverGroups Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET