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.63.0 published on Tuesday, Sep 24, 2024 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.63.0 published on Tuesday, Sep 24, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:sql:getInstanceFailoverGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Failover
Group stringName - The name of the failover group.
- Location
Name string - The name of the region where the resource is located.
- Resource
Group 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 stringName - The name of the failover group.
- Location
Name string - The name of the region where the resource is located.
- Resource
Group 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 StringName - The name of the failover group.
- location
Name String - The name of the region where the resource is located.
- resource
Group 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 stringName - The name of the failover group.
- location
Name string - The name of the region where the resource is located.
- resource
Group 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.
- failover
Group StringName - The name of the failover group.
- location
Name String - The name of the region where the resource is located.
- resource
Group 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.
- Managed
Instance 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.
- Partner
Regions List<Pulumi.Azure Native. Sql. Outputs. Partner Region Info Response> - Partner region information for the failover group.
- Read
Write Pulumi.Endpoint Azure Native. Sql. Outputs. Instance Failover Group Read Write Endpoint Response - Read-write endpoint of the failover group instance.
- Replication
Role string - Local replication role of the failover group instance.
- Replication
State string - Replication state of the failover group instance.
- Type string
- Resource type.
- Read
Only 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.
- Managed
Instance []ManagedPairs Instance Pair Info Response - List of managed instance pairs in the failover group.
- Name string
- Resource name.
- Partner
Regions []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 string - Local replication role of the failover group instance.
- Replication
State string - Replication state of the failover group instance.
- Type string
- Resource type.
- Read
Only InstanceEndpoint Failover Group Read Only Endpoint Response - Read-only endpoint of the failover group instance.
- id String
- Resource ID.
- managed
Instance List<ManagedPairs Instance Pair Info Response> - List of managed instance pairs in the failover group.
- name String
- Resource name.
- partner
Regions List<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 String - Local replication role of the failover group instance.
- replication
State String - Replication state of the failover group instance.
- type String
- Resource type.
- read
Only InstanceEndpoint Failover Group Read Only Endpoint Response - Read-only endpoint of the failover group instance.
- id string
- Resource ID.
- managed
Instance ManagedPairs Instance Pair Info Response[] - List of managed instance pairs in the failover group.
- name string
- Resource name.
- partner
Regions 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 string - Local replication role of the failover group instance.
- replication
State string - Replication state of the failover group instance.
- type string
- Resource type.
- read
Only 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.
- managed
Instance List<Property Map>Pairs - List of managed instance pairs in the failover group.
- name String
- Resource name.
- partner
Regions List<Property Map> - Partner region information for the failover group.
- read
Write Property MapEndpoint - Read-write endpoint of the failover group instance.
- replication
Role String - Local replication role of the failover group instance.
- replication
State String - Replication state of the failover group instance.
- type String
- Resource type.
- read
Only Property MapEndpoint - Read-only endpoint of the failover group instance.
Supporting Types
InstanceFailoverGroupReadOnlyEndpointResponse
- Failover
Policy string - Failover policy of the read-only endpoint for the failover group.
- Failover
Policy string - Failover policy of the read-only endpoint for the failover group.
- failover
Policy String - Failover policy of the read-only endpoint for the failover group.
- failover
Policy 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.
- failover
Policy String - Failover policy of the read-only endpoint for the failover group.
InstanceFailoverGroupReadWriteEndpointResponse
- Failover
Policy string - 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.
- Failover
Policy string - 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.
- failover
Policy String - Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
- failover
With 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.
- failover
Policy string - Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
- failover
With 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.
- failover
Policy String - Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
- failover
With 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
- Partner
Managed stringInstance Id - Id of Partner Managed Instance in pair.
- Primary
Managed stringInstance Id - Id of Primary Managed Instance in pair.
- Partner
Managed stringInstance Id - Id of Partner Managed Instance in pair.
- Primary
Managed stringInstance Id - Id of Primary Managed Instance in pair.
- partner
Managed StringInstance Id - Id of Partner Managed Instance in pair.
- primary
Managed StringInstance Id - Id of Primary Managed Instance in pair.
- partner
Managed stringInstance Id - Id of Partner Managed Instance in pair.
- primary
Managed 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.
- partner
Managed StringInstance Id - Id of Partner Managed Instance in pair.
- primary
Managed StringInstance Id - Id of Primary Managed Instance in pair.
PartnerRegionInfoResponse
- Replication
Role string - Replication role of the partner managed instances.
- Location string
- Geo location of the partner managed instances.
- Replication
Role string - Replication role of the partner managed instances.
- Location string
- Geo location of the partner managed instances.
- replication
Role String - Replication role of the partner managed instances.
- location String
- Geo location of the partner managed instances.
- replication
Role 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.
- replication
Role 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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi