azure-native.sql.InstanceFailoverGroup

Explore with Pulumi AI

An instance failover group. API Version: 2020-11-01-preview.

Example Usage

Create failover group

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var instanceFailoverGroup = new AzureNative.Sql.InstanceFailoverGroup("instanceFailoverGroup", new()
    {
        FailoverGroupName = "failover-group-test-3",
        LocationName = "Japan East",
        ManagedInstancePairs = new[]
        {
            new AzureNative.Sql.Inputs.ManagedInstancePairInfoArgs
            {
                PartnerManagedInstanceId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance",
                PrimaryManagedInstanceId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance",
            },
        },
        PartnerRegions = new[]
        {
            new AzureNative.Sql.Inputs.PartnerRegionInfoArgs
            {
                Location = "Japan West",
            },
        },
        ReadOnlyEndpoint = new AzureNative.Sql.Inputs.InstanceFailoverGroupReadOnlyEndpointArgs
        {
            FailoverPolicy = "Disabled",
        },
        ReadWriteEndpoint = new AzureNative.Sql.Inputs.InstanceFailoverGroupReadWriteEndpointArgs
        {
            FailoverPolicy = "Automatic",
            FailoverWithDataLossGracePeriodMinutes = 480,
        },
        ResourceGroupName = "Default",
    });

});
package main

import (
	sql "github.com/pulumi/pulumi-azure-native/sdk/go/azure/sql"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sql.NewInstanceFailoverGroup(ctx, "instanceFailoverGroup", &sql.InstanceFailoverGroupArgs{
			FailoverGroupName: pulumi.String("failover-group-test-3"),
			LocationName:      pulumi.String("Japan East"),
			ManagedInstancePairs: sql.ManagedInstancePairInfoArray{
				&sql.ManagedInstancePairInfoArgs{
					PartnerManagedInstanceId: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance"),
					PrimaryManagedInstanceId: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance"),
				},
			},
			PartnerRegions: sql.PartnerRegionInfoArray{
				&sql.PartnerRegionInfoArgs{
					Location: pulumi.String("Japan West"),
				},
			},
			ReadOnlyEndpoint: &sql.InstanceFailoverGroupReadOnlyEndpointArgs{
				FailoverPolicy: pulumi.String("Disabled"),
			},
			ReadWriteEndpoint: &sql.InstanceFailoverGroupReadWriteEndpointArgs{
				FailoverPolicy:                         pulumi.String("Automatic"),
				FailoverWithDataLossGracePeriodMinutes: pulumi.Int(480),
			},
			ResourceGroupName: pulumi.String("Default"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.sql.InstanceFailoverGroup;
import com.pulumi.azurenative.sql.InstanceFailoverGroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var instanceFailoverGroup = new InstanceFailoverGroup("instanceFailoverGroup", InstanceFailoverGroupArgs.builder()        
            .failoverGroupName("failover-group-test-3")
            .locationName("Japan East")
            .managedInstancePairs(Map.ofEntries(
                Map.entry("partnerManagedInstanceId", "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance"),
                Map.entry("primaryManagedInstanceId", "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance")
            ))
            .partnerRegions(Map.of("location", "Japan West"))
            .readOnlyEndpoint(Map.of("failoverPolicy", "Disabled"))
            .readWriteEndpoint(Map.ofEntries(
                Map.entry("failoverPolicy", "Automatic"),
                Map.entry("failoverWithDataLossGracePeriodMinutes", 480)
            ))
            .resourceGroupName("Default")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

instance_failover_group = azure_native.sql.InstanceFailoverGroup("instanceFailoverGroup",
    failover_group_name="failover-group-test-3",
    location_name="Japan East",
    managed_instance_pairs=[azure_native.sql.ManagedInstancePairInfoArgs(
        partner_managed_instance_id="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance",
        primary_managed_instance_id="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance",
    )],
    partner_regions=[azure_native.sql.PartnerRegionInfoArgs(
        location="Japan West",
    )],
    read_only_endpoint=azure_native.sql.InstanceFailoverGroupReadOnlyEndpointArgs(
        failover_policy="Disabled",
    ),
    read_write_endpoint=azure_native.sql.InstanceFailoverGroupReadWriteEndpointArgs(
        failover_policy="Automatic",
        failover_with_data_loss_grace_period_minutes=480,
    ),
    resource_group_name="Default")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const instanceFailoverGroup = new azure_native.sql.InstanceFailoverGroup("instanceFailoverGroup", {
    failoverGroupName: "failover-group-test-3",
    locationName: "Japan East",
    managedInstancePairs: [{
        partnerManagedInstanceId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance",
        primaryManagedInstanceId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance",
    }],
    partnerRegions: [{
        location: "Japan West",
    }],
    readOnlyEndpoint: {
        failoverPolicy: "Disabled",
    },
    readWriteEndpoint: {
        failoverPolicy: "Automatic",
        failoverWithDataLossGracePeriodMinutes: 480,
    },
    resourceGroupName: "Default",
});
resources:
  instanceFailoverGroup:
    type: azure-native:sql:InstanceFailoverGroup
    properties:
      failoverGroupName: failover-group-test-3
      locationName: Japan East
      managedInstancePairs:
        - partnerManagedInstanceId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance
          primaryManagedInstanceId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance
      partnerRegions:
        - location: Japan West
      readOnlyEndpoint:
        failoverPolicy: Disabled
      readWriteEndpoint:
        failoverPolicy: Automatic
        failoverWithDataLossGracePeriodMinutes: 480
      resourceGroupName: Default

Create InstanceFailoverGroup Resource

new InstanceFailoverGroup(name: string, args: InstanceFailoverGroupArgs, opts?: CustomResourceOptions);
@overload
def InstanceFailoverGroup(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          failover_group_name: Optional[str] = None,
                          location_name: Optional[str] = None,
                          managed_instance_pairs: Optional[Sequence[ManagedInstancePairInfoArgs]] = None,
                          partner_regions: Optional[Sequence[PartnerRegionInfoArgs]] = None,
                          read_only_endpoint: Optional[InstanceFailoverGroupReadOnlyEndpointArgs] = None,
                          read_write_endpoint: Optional[InstanceFailoverGroupReadWriteEndpointArgs] = None,
                          resource_group_name: Optional[str] = None)
@overload
def InstanceFailoverGroup(resource_name: str,
                          args: InstanceFailoverGroupArgs,
                          opts: Optional[ResourceOptions] = None)
func NewInstanceFailoverGroup(ctx *Context, name string, args InstanceFailoverGroupArgs, opts ...ResourceOption) (*InstanceFailoverGroup, error)
public InstanceFailoverGroup(string name, InstanceFailoverGroupArgs args, CustomResourceOptions? opts = null)
public InstanceFailoverGroup(String name, InstanceFailoverGroupArgs args)
public InstanceFailoverGroup(String name, InstanceFailoverGroupArgs args, CustomResourceOptions options)
type: azure-native:sql:InstanceFailoverGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args InstanceFailoverGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args InstanceFailoverGroupArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args InstanceFailoverGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args InstanceFailoverGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args InstanceFailoverGroupArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

InstanceFailoverGroup Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The InstanceFailoverGroup resource accepts the following input properties:

LocationName string

The name of the region where the resource is located.

ManagedInstancePairs List<Pulumi.AzureNative.Sql.Inputs.ManagedInstancePairInfoArgs>

List of managed instance pairs in the failover group.

PartnerRegions List<Pulumi.AzureNative.Sql.Inputs.PartnerRegionInfoArgs>

Partner region information for the failover group.

ReadWriteEndpoint Pulumi.AzureNative.Sql.Inputs.InstanceFailoverGroupReadWriteEndpointArgs

Read-write endpoint of the failover group instance.

ResourceGroupName string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

FailoverGroupName string

The name of the failover group.

ReadOnlyEndpoint Pulumi.AzureNative.Sql.Inputs.InstanceFailoverGroupReadOnlyEndpointArgs

Read-only endpoint of the failover group instance.

LocationName string

The name of the region where the resource is located.

ManagedInstancePairs []ManagedInstancePairInfoArgs

List of managed instance pairs in the failover group.

PartnerRegions []PartnerRegionInfoArgs

Partner region information for the failover group.

ReadWriteEndpoint InstanceFailoverGroupReadWriteEndpointArgs

Read-write endpoint of the failover group instance.

ResourceGroupName string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

FailoverGroupName string

The name of the failover group.

ReadOnlyEndpoint InstanceFailoverGroupReadOnlyEndpointArgs

Read-only endpoint of the failover group instance.

locationName String

The name of the region where the resource is located.

managedInstancePairs List<ManagedInstancePairInfoArgs>

List of managed instance pairs in the failover group.

partnerRegions List<PartnerRegionInfoArgs>

Partner region information for the failover group.

readWriteEndpoint InstanceFailoverGroupReadWriteEndpointArgs

Read-write endpoint of the failover group instance.

resourceGroupName String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

failoverGroupName String

The name of the failover group.

readOnlyEndpoint InstanceFailoverGroupReadOnlyEndpointArgs

Read-only endpoint of the failover group instance.

locationName string

The name of the region where the resource is located.

managedInstancePairs ManagedInstancePairInfoArgs[]

List of managed instance pairs in the failover group.

partnerRegions PartnerRegionInfoArgs[]

Partner region information for the failover group.

readWriteEndpoint InstanceFailoverGroupReadWriteEndpointArgs

Read-write endpoint of the failover group instance.

resourceGroupName string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

failoverGroupName string

The name of the failover group.

readOnlyEndpoint InstanceFailoverGroupReadOnlyEndpointArgs

Read-only endpoint of the failover group instance.

location_name str

The name of the region where the resource is located.

managed_instance_pairs Sequence[ManagedInstancePairInfoArgs]

List of managed instance pairs in the failover group.

partner_regions Sequence[PartnerRegionInfoArgs]

Partner region information for the failover group.

read_write_endpoint InstanceFailoverGroupReadWriteEndpointArgs

Read-write endpoint of the failover group instance.

resource_group_name str

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_name str

The name of the failover group.

read_only_endpoint InstanceFailoverGroupReadOnlyEndpointArgs

Read-only endpoint of the failover group instance.

locationName String

The name of the region where the resource is located.

managedInstancePairs List<Property Map>

List of managed instance pairs in the failover group.

partnerRegions List<Property Map>

Partner region information for the failover group.

readWriteEndpoint Property Map

Read-write endpoint of the failover group instance.

resourceGroupName String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

failoverGroupName String

The name of the failover group.

readOnlyEndpoint Property Map

Read-only endpoint of the failover group instance.

Outputs

All input properties are implicitly available as output properties. Additionally, the InstanceFailoverGroup resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name.

ReplicationRole string

Local replication role of the failover group instance.

ReplicationState string

Replication state of the failover group instance.

Type string

Resource type.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name.

ReplicationRole string

Local replication role of the failover group instance.

ReplicationState string

Replication state of the failover group instance.

Type string

Resource type.

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name.

replicationRole String

Local replication role of the failover group instance.

replicationState String

Replication state of the failover group instance.

type String

Resource type.

id string

The provider-assigned unique ID for this managed resource.

name string

Resource name.

replicationRole string

Local replication role of the failover group instance.

replicationState string

Replication state of the failover group instance.

type string

Resource type.

id str

The provider-assigned unique ID for this managed resource.

name str

Resource name.

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.

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name.

replicationRole String

Local replication role of the failover group instance.

replicationState String

Replication state of the failover group instance.

type String

Resource type.

Supporting Types

InstanceFailoverGroupReadOnlyEndpoint

FailoverPolicy string | Pulumi.AzureNative.Sql.ReadOnlyEndpointFailoverPolicy

Failover policy of the read-only endpoint for the failover group.

FailoverPolicy string | ReadOnlyEndpointFailoverPolicy

Failover policy of the read-only endpoint for the failover group.

failoverPolicy String | ReadOnlyEndpointFailoverPolicy

Failover policy of the read-only endpoint for the failover group.

failoverPolicy string | ReadOnlyEndpointFailoverPolicy

Failover policy of the read-only endpoint for the failover group.

failover_policy str | ReadOnlyEndpointFailoverPolicy

Failover policy of the read-only endpoint for the failover group.

failoverPolicy String | "Disabled" | "Enabled"

Failover policy of the read-only endpoint for the failover group.

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.

InstanceFailoverGroupReadWriteEndpoint

FailoverPolicy string | Pulumi.AzureNative.Sql.ReadWriteEndpointFailoverPolicy

Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

FailoverWithDataLossGracePeriodMinutes int

Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

FailoverPolicy string | ReadWriteEndpointFailoverPolicy

Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

FailoverWithDataLossGracePeriodMinutes int

Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

failoverPolicy String | ReadWriteEndpointFailoverPolicy

Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

failoverWithDataLossGracePeriodMinutes Integer

Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

failoverPolicy string | ReadWriteEndpointFailoverPolicy

Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

failoverWithDataLossGracePeriodMinutes number

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 | ReadWriteEndpointFailoverPolicy

Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

failover_with_data_loss_grace_period_minutes int

Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

failoverPolicy String | "Manual" | "Automatic"

Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

failoverWithDataLossGracePeriodMinutes Number

Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

InstanceFailoverGroupReadWriteEndpointResponse

FailoverPolicy string

Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

FailoverWithDataLossGracePeriodMinutes int

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.

FailoverWithDataLossGracePeriodMinutes int

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.

failoverWithDataLossGracePeriodMinutes Integer

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.

failoverWithDataLossGracePeriodMinutes number

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_data_loss_grace_period_minutes int

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.

failoverWithDataLossGracePeriodMinutes Number

Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

ManagedInstancePairInfo

PartnerManagedInstanceId string

Id of Partner Managed Instance in pair.

PrimaryManagedInstanceId string

Id of Primary Managed Instance in pair.

PartnerManagedInstanceId string

Id of Partner Managed Instance in pair.

PrimaryManagedInstanceId string

Id of Primary Managed Instance in pair.

partnerManagedInstanceId String

Id of Partner Managed Instance in pair.

primaryManagedInstanceId String

Id of Primary Managed Instance in pair.

partnerManagedInstanceId string

Id of Partner Managed Instance in pair.

primaryManagedInstanceId string

Id of Primary Managed Instance in pair.

partner_managed_instance_id str

Id of Partner Managed Instance in pair.

primary_managed_instance_id str

Id of Primary Managed Instance in pair.

partnerManagedInstanceId String

Id of Partner Managed Instance in pair.

primaryManagedInstanceId String

Id of Primary Managed Instance in pair.

ManagedInstancePairInfoResponse

PartnerManagedInstanceId string

Id of Partner Managed Instance in pair.

PrimaryManagedInstanceId string

Id of Primary Managed Instance in pair.

PartnerManagedInstanceId string

Id of Partner Managed Instance in pair.

PrimaryManagedInstanceId string

Id of Primary Managed Instance in pair.

partnerManagedInstanceId String

Id of Partner Managed Instance in pair.

primaryManagedInstanceId String

Id of Primary Managed Instance in pair.

partnerManagedInstanceId string

Id of Partner Managed Instance in pair.

primaryManagedInstanceId string

Id of Primary Managed Instance in pair.

partner_managed_instance_id str

Id of Partner Managed Instance in pair.

primary_managed_instance_id str

Id of Primary Managed Instance in pair.

partnerManagedInstanceId String

Id of Partner Managed Instance in pair.

primaryManagedInstanceId String

Id of Primary Managed Instance in pair.

PartnerRegionInfo

Location string

Geo location of the partner managed instances.

Location string

Geo location of the partner managed instances.

location String

Geo location of the partner managed instances.

location string

Geo location of the partner managed instances.

location str

Geo location of the partner managed instances.

location String

Geo location of the partner managed instances.

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.

ReadOnlyEndpointFailoverPolicy

Disabled
Disabled
Enabled
Enabled
ReadOnlyEndpointFailoverPolicyDisabled
Disabled
ReadOnlyEndpointFailoverPolicyEnabled
Enabled
Disabled
Disabled
Enabled
Enabled
Disabled
Disabled
Enabled
Enabled
DISABLED
Disabled
ENABLED
Enabled
"Disabled"
Disabled
"Enabled"
Enabled

ReadWriteEndpointFailoverPolicy

Manual
Manual
Automatic
Automatic
ReadWriteEndpointFailoverPolicyManual
Manual
ReadWriteEndpointFailoverPolicyAutomatic
Automatic
Manual
Manual
Automatic
Automatic
Manual
Manual
Automatic
Automatic
MANUAL
Manual
AUTOMATIC
Automatic
"Manual"
Manual
"Automatic"
Automatic

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:sql:InstanceFailoverGroup failover-group-test-3 /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/locations/JapanEast/instanceFailoverGroups/failover-group-test-3 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0