This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.sql.getInstanceFailoverGroup
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets a failover group. Azure REST API version: 2021-11-01.
Other available API versions: 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview.
Using getInstanceFailoverGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInstanceFailoverGroup(args: GetInstanceFailoverGroupArgs, opts?: InvokeOptions): Promise<GetInstanceFailoverGroupResult>
function getInstanceFailoverGroupOutput(args: GetInstanceFailoverGroupOutputArgs, opts?: InvokeOptions): Output<GetInstanceFailoverGroupResult>def get_instance_failover_group(failover_group_name: Optional[str] = None,
                                location_name: Optional[str] = None,
                                resource_group_name: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetInstanceFailoverGroupResult
def get_instance_failover_group_output(failover_group_name: Optional[pulumi.Input[str]] = None,
                                location_name: Optional[pulumi.Input[str]] = None,
                                resource_group_name: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetInstanceFailoverGroupResult]func LookupInstanceFailoverGroup(ctx *Context, args *LookupInstanceFailoverGroupArgs, opts ...InvokeOption) (*LookupInstanceFailoverGroupResult, error)
func LookupInstanceFailoverGroupOutput(ctx *Context, args *LookupInstanceFailoverGroupOutputArgs, opts ...InvokeOption) LookupInstanceFailoverGroupResultOutput> Note: This function is named LookupInstanceFailoverGroup in the Go SDK.
public static class GetInstanceFailoverGroup 
{
    public static Task<GetInstanceFailoverGroupResult> InvokeAsync(GetInstanceFailoverGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetInstanceFailoverGroupResult> Invoke(GetInstanceFailoverGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstanceFailoverGroupResult> getInstanceFailoverGroup(GetInstanceFailoverGroupArgs args, InvokeOptions options)
public static Output<GetInstanceFailoverGroupResult> getInstanceFailoverGroup(GetInstanceFailoverGroupArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:sql:getInstanceFailoverGroup
  arguments:
    # arguments dictionaryThe following arguments are supported:
- FailoverGroup stringName 
- The name of the failover group.
- LocationName string
- The name of the region where the resource is located.
- ResourceGroup stringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- FailoverGroup stringName 
- The name of the failover group.
- LocationName string
- The name of the region where the resource is located.
- ResourceGroup stringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- failoverGroup StringName 
- The name of the failover group.
- locationName String
- The name of the region where the resource is located.
- resourceGroup StringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- failoverGroup stringName 
- The name of the failover group.
- locationName string
- The name of the region where the resource is located.
- resourceGroup stringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- failover_group_ strname 
- The name of the failover group.
- location_name str
- The name of the region where the resource is located.
- resource_group_ strname 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- failoverGroup StringName 
- The name of the failover group.
- locationName String
- The name of the region where the resource is located.
- resourceGroup StringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
getInstanceFailoverGroup Result
The following output properties are available:
- Id string
- Resource ID.
- ManagedInstance List<Pulumi.Pairs Azure Native. Sql. Outputs. Managed Instance Pair Info Response> 
- List of managed instance pairs in the failover group.
- Name string
- Resource name.
- PartnerRegions List<Pulumi.Azure Native. Sql. Outputs. Partner Region Info Response> 
- Partner region information for the failover group.
- ReadWrite Pulumi.Endpoint Azure Native. Sql. Outputs. Instance Failover Group Read Write Endpoint Response 
- Read-write endpoint of the failover group instance.
- ReplicationRole string
- Local replication role of the failover group instance.
- ReplicationState string
- Replication state of the failover group instance.
- Type string
- Resource type.
- ReadOnly Pulumi.Endpoint Azure Native. Sql. Outputs. Instance Failover Group Read Only Endpoint Response 
- Read-only endpoint of the failover group instance.
- Id string
- Resource ID.
- ManagedInstance []ManagedPairs Instance Pair Info Response 
- List of managed instance pairs in the failover group.
- Name string
- Resource name.
- PartnerRegions []PartnerRegion Info Response 
- Partner region information for the failover group.
- ReadWrite InstanceEndpoint Failover Group Read Write Endpoint Response 
- Read-write endpoint of the failover group instance.
- ReplicationRole string
- Local replication role of the failover group instance.
- ReplicationState string
- Replication state of the failover group instance.
- Type string
- Resource type.
- ReadOnly InstanceEndpoint Failover Group Read Only Endpoint Response 
- Read-only endpoint of the failover group instance.
- id String
- Resource ID.
- managedInstance List<ManagedPairs Instance Pair Info Response> 
- List of managed instance pairs in the failover group.
- name String
- Resource name.
- partnerRegions List<PartnerRegion Info Response> 
- Partner region information for the failover group.
- readWrite InstanceEndpoint Failover Group Read Write Endpoint Response 
- Read-write endpoint of the failover group instance.
- replicationRole String
- Local replication role of the failover group instance.
- replicationState String
- Replication state of the failover group instance.
- type String
- Resource type.
- readOnly InstanceEndpoint Failover Group Read Only Endpoint Response 
- Read-only endpoint of the failover group instance.
- id string
- Resource ID.
- managedInstance ManagedPairs Instance Pair Info Response[] 
- List of managed instance pairs in the failover group.
- name string
- Resource name.
- partnerRegions PartnerRegion Info Response[] 
- Partner region information for the failover group.
- readWrite InstanceEndpoint Failover Group Read Write Endpoint Response 
- Read-write endpoint of the failover group instance.
- replicationRole string
- Local replication role of the failover group instance.
- replicationState string
- Replication state of the failover group instance.
- type string
- Resource type.
- readOnly InstanceEndpoint Failover Group Read Only Endpoint Response 
- Read-only endpoint of the failover group instance.
- id str
- Resource ID.
- managed_instance_ Sequence[Managedpairs Instance Pair Info Response] 
- List of managed instance pairs in the failover group.
- name str
- Resource name.
- partner_regions Sequence[PartnerRegion Info Response] 
- Partner region information for the failover group.
- read_write_ Instanceendpoint Failover Group Read Write Endpoint Response 
- Read-write endpoint of the failover group instance.
- replication_role str
- Local replication role of the failover group instance.
- replication_state str
- Replication state of the failover group instance.
- type str
- Resource type.
- read_only_ Instanceendpoint Failover Group Read Only Endpoint Response 
- Read-only endpoint of the failover group instance.
- id String
- Resource ID.
- managedInstance List<Property Map>Pairs 
- List of managed instance pairs in the failover group.
- name String
- Resource name.
- partnerRegions List<Property Map>
- Partner region information for the failover group.
- readWrite Property MapEndpoint 
- Read-write endpoint of the failover group instance.
- replicationRole String
- Local replication role of the failover group instance.
- replicationState String
- Replication state of the failover group instance.
- type String
- Resource type.
- readOnly Property MapEndpoint 
- Read-only endpoint of the failover group instance.
Supporting Types
InstanceFailoverGroupReadOnlyEndpointResponse      
- FailoverPolicy string
- Failover policy of the read-only endpoint for the failover group.
- FailoverPolicy string
- Failover policy of the read-only endpoint for the failover group.
- failoverPolicy String
- Failover policy of the read-only endpoint for the failover group.
- failoverPolicy string
- Failover policy of the read-only endpoint for the failover group.
- failover_policy str
- Failover policy of the read-only endpoint for the failover group.
- failoverPolicy String
- Failover policy of the read-only endpoint for the failover group.
InstanceFailoverGroupReadWriteEndpointResponse      
- FailoverPolicy string
- Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
- FailoverWith intData Loss Grace Period Minutes 
- Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
- FailoverPolicy string
- Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
- FailoverWith intData Loss Grace Period Minutes 
- Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
- failoverPolicy String
- Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
- failoverWith IntegerData Loss Grace Period Minutes 
- Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
- failoverPolicy string
- Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
- failoverWith numberData Loss Grace Period Minutes 
- Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
- failover_policy str
- Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
- failover_with_ intdata_ loss_ grace_ period_ minutes 
- Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
- failoverPolicy String
- Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
- failoverWith NumberData Loss Grace Period Minutes 
- Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
ManagedInstancePairInfoResponse    
- PartnerManaged stringInstance Id 
- Id of Partner Managed Instance in pair.
- PrimaryManaged stringInstance Id 
- Id of Primary Managed Instance in pair.
- PartnerManaged stringInstance Id 
- Id of Partner Managed Instance in pair.
- PrimaryManaged stringInstance Id 
- Id of Primary Managed Instance in pair.
- partnerManaged StringInstance Id 
- Id of Partner Managed Instance in pair.
- primaryManaged StringInstance Id 
- Id of Primary Managed Instance in pair.
- partnerManaged stringInstance Id 
- Id of Partner Managed Instance in pair.
- primaryManaged stringInstance Id 
- Id of Primary Managed Instance in pair.
- partner_managed_ strinstance_ id 
- Id of Partner Managed Instance in pair.
- primary_managed_ strinstance_ id 
- Id of Primary Managed Instance in pair.
- partnerManaged StringInstance Id 
- Id of Partner Managed Instance in pair.
- primaryManaged StringInstance Id 
- Id of Primary Managed Instance in pair.
PartnerRegionInfoResponse   
- ReplicationRole string
- Replication role of the partner managed instances.
- Location string
- Geo location of the partner managed instances.
- ReplicationRole string
- Replication role of the partner managed instances.
- Location string
- Geo location of the partner managed instances.
- replicationRole String
- Replication role of the partner managed instances.
- location String
- Geo location of the partner managed instances.
- replicationRole string
- Replication role of the partner managed instances.
- location string
- Geo location of the partner managed instances.
- replication_role str
- Replication role of the partner managed instances.
- location str
- Geo location of the partner managed instances.
- replicationRole String
- Replication role of the partner managed instances.
- location String
- Geo location of the partner managed instances.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi