1. Packages
  2. Azure Native
  3. API Docs
  4. azurearcdata
  5. FailoverGroup
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.azurearcdata.FailoverGroup

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

A failover group resource.

Uses Azure REST API version 2024-01-01. In version 2.x of the Azure Native provider, it used API version 2023-01-15-preview.

Other available API versions: 2023-01-15-preview, 2024-05-01-preview, 2025-03-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native azurearcdata [ApiVersion]. See the version guide for details.

Example Usage

Create or update a failover group instance.

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

return await Deployment.RunAsync(() => 
{
    var failoverGroup = new AzureNative.AzureArcData.FailoverGroup("failoverGroup", new()
    {
        FailoverGroupName = "testFailoverGroupName",
        Properties = new AzureNative.AzureArcData.Inputs.FailoverGroupPropertiesArgs
        {
            PartnerManagedInstanceId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/partnerMI",
            Spec = new AzureNative.AzureArcData.Inputs.FailoverGroupSpecArgs
            {
                PartnerSyncMode = AzureNative.AzureArcData.FailoverGroupPartnerSyncMode.@Async,
                Role = AzureNative.AzureArcData.InstanceFailoverGroupRole.Primary,
            },
        },
        ResourceGroupName = "testrg",
        SqlManagedInstanceName = "testSqlManagedInstance",
    });

});
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azurearcdata.NewFailoverGroup(ctx, "failoverGroup", &azurearcdata.FailoverGroupArgs{
			FailoverGroupName: pulumi.String("testFailoverGroupName"),
			Properties: &azurearcdata.FailoverGroupPropertiesArgs{
				PartnerManagedInstanceId: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/partnerMI"),
				Spec: &azurearcdata.FailoverGroupSpecArgs{
					PartnerSyncMode: pulumi.String(azurearcdata.FailoverGroupPartnerSyncModeAsync),
					Role:            pulumi.String(azurearcdata.InstanceFailoverGroupRolePrimary),
				},
			},
			ResourceGroupName:      pulumi.String("testrg"),
			SqlManagedInstanceName: pulumi.String("testSqlManagedInstance"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.azurearcdata.FailoverGroup;
import com.pulumi.azurenative.azurearcdata.FailoverGroupArgs;
import com.pulumi.azurenative.azurearcdata.inputs.FailoverGroupPropertiesArgs;
import com.pulumi.azurenative.azurearcdata.inputs.FailoverGroupSpecArgs;
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 failoverGroup = new FailoverGroup("failoverGroup", FailoverGroupArgs.builder()
            .failoverGroupName("testFailoverGroupName")
            .properties(FailoverGroupPropertiesArgs.builder()
                .partnerManagedInstanceId("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/partnerMI")
                .spec(FailoverGroupSpecArgs.builder()
                    .partnerSyncMode("async")
                    .role("primary")
                    .build())
                .build())
            .resourceGroupName("testrg")
            .sqlManagedInstanceName("testSqlManagedInstance")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const failoverGroup = new azure_native.azurearcdata.FailoverGroup("failoverGroup", {
    failoverGroupName: "testFailoverGroupName",
    properties: {
        partnerManagedInstanceId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/partnerMI",
        spec: {
            partnerSyncMode: azure_native.azurearcdata.FailoverGroupPartnerSyncMode.Async,
            role: azure_native.azurearcdata.InstanceFailoverGroupRole.Primary,
        },
    },
    resourceGroupName: "testrg",
    sqlManagedInstanceName: "testSqlManagedInstance",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

failover_group = azure_native.azurearcdata.FailoverGroup("failoverGroup",
    failover_group_name="testFailoverGroupName",
    properties={
        "partner_managed_instance_id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/partnerMI",
        "spec": {
            "partner_sync_mode": azure_native.azurearcdata.FailoverGroupPartnerSyncMode.ASYNC_,
            "role": azure_native.azurearcdata.InstanceFailoverGroupRole.PRIMARY,
        },
    },
    resource_group_name="testrg",
    sql_managed_instance_name="testSqlManagedInstance")
Copy
resources:
  failoverGroup:
    type: azure-native:azurearcdata:FailoverGroup
    properties:
      failoverGroupName: testFailoverGroupName
      properties:
        partnerManagedInstanceId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/partnerMI
        spec:
          partnerSyncMode: async
          role: primary
      resourceGroupName: testrg
      sqlManagedInstanceName: testSqlManagedInstance
Copy

Create FailoverGroup Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new FailoverGroup(name: string, args: FailoverGroupArgs, opts?: CustomResourceOptions);
@overload
def FailoverGroup(resource_name: str,
                  args: FailoverGroupArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def FailoverGroup(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  properties: Optional[FailoverGroupPropertiesArgs] = None,
                  resource_group_name: Optional[str] = None,
                  sql_managed_instance_name: Optional[str] = None,
                  failover_group_name: Optional[str] = None)
func NewFailoverGroup(ctx *Context, name string, args FailoverGroupArgs, opts ...ResourceOption) (*FailoverGroup, error)
public FailoverGroup(string name, FailoverGroupArgs args, CustomResourceOptions? opts = null)
public FailoverGroup(String name, FailoverGroupArgs args)
public FailoverGroup(String name, FailoverGroupArgs args, CustomResourceOptions options)
type: azure-native:azurearcdata:FailoverGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

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

Constructor example

The following reference example uses placeholder values for all input properties.

var failoverGroupResource = new AzureNative.AzureArcData.FailoverGroup("failoverGroupResource", new()
{
    Properties = new AzureNative.AzureArcData.Inputs.FailoverGroupPropertiesArgs
    {
        PartnerManagedInstanceId = "string",
        Spec = new AzureNative.AzureArcData.Inputs.FailoverGroupSpecArgs
        {
            Role = "string",
            PartnerMI = "string",
            PartnerMirroringCert = "string",
            PartnerMirroringURL = "string",
            PartnerSyncMode = "string",
            SharedName = "string",
            SourceMI = "string",
        },
        Status = "any",
    },
    ResourceGroupName = "string",
    SqlManagedInstanceName = "string",
    FailoverGroupName = "string",
});
Copy
example, err := azurearcdata.NewFailoverGroup(ctx, "failoverGroupResource", &azurearcdata.FailoverGroupArgs{
	Properties: &azurearcdata.FailoverGroupPropertiesArgs{
		PartnerManagedInstanceId: pulumi.String("string"),
		Spec: &azurearcdata.FailoverGroupSpecArgs{
			Role:                 pulumi.String("string"),
			PartnerMI:            pulumi.String("string"),
			PartnerMirroringCert: pulumi.String("string"),
			PartnerMirroringURL:  pulumi.String("string"),
			PartnerSyncMode:      pulumi.String("string"),
			SharedName:           pulumi.String("string"),
			SourceMI:             pulumi.String("string"),
		},
		Status: pulumi.Any("any"),
	},
	ResourceGroupName:      pulumi.String("string"),
	SqlManagedInstanceName: pulumi.String("string"),
	FailoverGroupName:      pulumi.String("string"),
})
Copy
var failoverGroupResource = new FailoverGroup("failoverGroupResource", FailoverGroupArgs.builder()
    .properties(FailoverGroupPropertiesArgs.builder()
        .partnerManagedInstanceId("string")
        .spec(FailoverGroupSpecArgs.builder()
            .role("string")
            .partnerMI("string")
            .partnerMirroringCert("string")
            .partnerMirroringURL("string")
            .partnerSyncMode("string")
            .sharedName("string")
            .sourceMI("string")
            .build())
        .status("any")
        .build())
    .resourceGroupName("string")
    .sqlManagedInstanceName("string")
    .failoverGroupName("string")
    .build());
Copy
failover_group_resource = azure_native.azurearcdata.FailoverGroup("failoverGroupResource",
    properties={
        "partner_managed_instance_id": "string",
        "spec": {
            "role": "string",
            "partner_mi": "string",
            "partner_mirroring_cert": "string",
            "partner_mirroring_url": "string",
            "partner_sync_mode": "string",
            "shared_name": "string",
            "source_mi": "string",
        },
        "status": "any",
    },
    resource_group_name="string",
    sql_managed_instance_name="string",
    failover_group_name="string")
Copy
const failoverGroupResource = new azure_native.azurearcdata.FailoverGroup("failoverGroupResource", {
    properties: {
        partnerManagedInstanceId: "string",
        spec: {
            role: "string",
            partnerMI: "string",
            partnerMirroringCert: "string",
            partnerMirroringURL: "string",
            partnerSyncMode: "string",
            sharedName: "string",
            sourceMI: "string",
        },
        status: "any",
    },
    resourceGroupName: "string",
    sqlManagedInstanceName: "string",
    failoverGroupName: "string",
});
Copy
type: azure-native:azurearcdata:FailoverGroup
properties:
    failoverGroupName: string
    properties:
        partnerManagedInstanceId: string
        spec:
            partnerMI: string
            partnerMirroringCert: string
            partnerMirroringURL: string
            partnerSyncMode: string
            role: string
            sharedName: string
            sourceMI: string
        status: any
    resourceGroupName: string
    sqlManagedInstanceName: string
Copy

FailoverGroup Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The FailoverGroup resource accepts the following input properties:

Properties This property is required. Pulumi.AzureNative.AzureArcData.Inputs.FailoverGroupProperties
null
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure resource group
SqlManagedInstanceName
This property is required.
Changes to this property will trigger replacement.
string
Name of SQL Managed Instance
FailoverGroupName Changes to this property will trigger replacement. string
The name of the Failover Group
Properties This property is required. FailoverGroupPropertiesArgs
null
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure resource group
SqlManagedInstanceName
This property is required.
Changes to this property will trigger replacement.
string
Name of SQL Managed Instance
FailoverGroupName Changes to this property will trigger replacement. string
The name of the Failover Group
properties This property is required. FailoverGroupProperties
null
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Azure resource group
sqlManagedInstanceName
This property is required.
Changes to this property will trigger replacement.
String
Name of SQL Managed Instance
failoverGroupName Changes to this property will trigger replacement. String
The name of the Failover Group
properties This property is required. FailoverGroupProperties
null
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure resource group
sqlManagedInstanceName
This property is required.
Changes to this property will trigger replacement.
string
Name of SQL Managed Instance
failoverGroupName Changes to this property will trigger replacement. string
The name of the Failover Group
properties This property is required. FailoverGroupPropertiesArgs
null
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Azure resource group
sql_managed_instance_name
This property is required.
Changes to this property will trigger replacement.
str
Name of SQL Managed Instance
failover_group_name Changes to this property will trigger replacement. str
The name of the Failover Group
properties This property is required. Property Map
null
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Azure resource group
sqlManagedInstanceName
This property is required.
Changes to this property will trigger replacement.
String
Name of SQL Managed Instance
failoverGroupName Changes to this property will trigger replacement. String
The name of the Failover Group

Outputs

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

AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData Pulumi.AzureNative.AzureArcData.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion string
The Azure API version of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azure_api_version str
The Azure API version of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

FailoverGroupPartnerSyncMode
, FailoverGroupPartnerSyncModeArgs

@Async
async
Sync
sync
FailoverGroupPartnerSyncModeAsync
async
FailoverGroupPartnerSyncModeSync
sync
Async
async
Sync
sync
Async
async
Sync
sync
ASYNC_
async
SYNC
sync
"async"
async
"sync"
sync

FailoverGroupProperties
, FailoverGroupPropertiesArgs

PartnerManagedInstanceId This property is required. string
The resource ID of the partner SQL managed instance.
Spec This property is required. Pulumi.AzureNative.AzureArcData.Inputs.FailoverGroupSpec
The specifications of the failover group resource.
Status object
The status of the failover group custom resource.
PartnerManagedInstanceId This property is required. string
The resource ID of the partner SQL managed instance.
Spec This property is required. FailoverGroupSpec
The specifications of the failover group resource.
Status interface{}
The status of the failover group custom resource.
partnerManagedInstanceId This property is required. String
The resource ID of the partner SQL managed instance.
spec This property is required. FailoverGroupSpec
The specifications of the failover group resource.
status Object
The status of the failover group custom resource.
partnerManagedInstanceId This property is required. string
The resource ID of the partner SQL managed instance.
spec This property is required. FailoverGroupSpec
The specifications of the failover group resource.
status any
The status of the failover group custom resource.
partner_managed_instance_id This property is required. str
The resource ID of the partner SQL managed instance.
spec This property is required. FailoverGroupSpec
The specifications of the failover group resource.
status Any
The status of the failover group custom resource.
partnerManagedInstanceId This property is required. String
The resource ID of the partner SQL managed instance.
spec This property is required. Property Map
The specifications of the failover group resource.
status Any
The status of the failover group custom resource.

FailoverGroupPropertiesResponse
, FailoverGroupPropertiesResponseArgs

PartnerManagedInstanceId This property is required. string
The resource ID of the partner SQL managed instance.
ProvisioningState This property is required. string
The provisioning state of the failover group resource.
Spec This property is required. Pulumi.AzureNative.AzureArcData.Inputs.FailoverGroupSpecResponse
The specifications of the failover group resource.
Status object
The status of the failover group custom resource.
PartnerManagedInstanceId This property is required. string
The resource ID of the partner SQL managed instance.
ProvisioningState This property is required. string
The provisioning state of the failover group resource.
Spec This property is required. FailoverGroupSpecResponse
The specifications of the failover group resource.
Status interface{}
The status of the failover group custom resource.
partnerManagedInstanceId This property is required. String
The resource ID of the partner SQL managed instance.
provisioningState This property is required. String
The provisioning state of the failover group resource.
spec This property is required. FailoverGroupSpecResponse
The specifications of the failover group resource.
status Object
The status of the failover group custom resource.
partnerManagedInstanceId This property is required. string
The resource ID of the partner SQL managed instance.
provisioningState This property is required. string
The provisioning state of the failover group resource.
spec This property is required. FailoverGroupSpecResponse
The specifications of the failover group resource.
status any
The status of the failover group custom resource.
partner_managed_instance_id This property is required. str
The resource ID of the partner SQL managed instance.
provisioning_state This property is required. str
The provisioning state of the failover group resource.
spec This property is required. FailoverGroupSpecResponse
The specifications of the failover group resource.
status Any
The status of the failover group custom resource.
partnerManagedInstanceId This property is required. String
The resource ID of the partner SQL managed instance.
provisioningState This property is required. String
The provisioning state of the failover group resource.
spec This property is required. Property Map
The specifications of the failover group resource.
status Any
The status of the failover group custom resource.

FailoverGroupSpec
, FailoverGroupSpecArgs

Role This property is required. string | Pulumi.AzureNative.AzureArcData.InstanceFailoverGroupRole
The role of the SQL managed instance in this failover group.
PartnerMI string
The name of the partner SQL managed instance.
PartnerMirroringCert string
The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
PartnerMirroringURL string
The mirroring endpoint URL of the partner SQL managed instance.
PartnerSyncMode string | Pulumi.AzureNative.AzureArcData.FailoverGroupPartnerSyncMode
The partner sync mode of the SQL managed instance.
SharedName string
The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
SourceMI string
The name of the SQL managed instance with this failover group role.
Role This property is required. string | InstanceFailoverGroupRole
The role of the SQL managed instance in this failover group.
PartnerMI string
The name of the partner SQL managed instance.
PartnerMirroringCert string
The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
PartnerMirroringURL string
The mirroring endpoint URL of the partner SQL managed instance.
PartnerSyncMode string | FailoverGroupPartnerSyncMode
The partner sync mode of the SQL managed instance.
SharedName string
The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
SourceMI string
The name of the SQL managed instance with this failover group role.
role This property is required. String | InstanceFailoverGroupRole
The role of the SQL managed instance in this failover group.
partnerMI String
The name of the partner SQL managed instance.
partnerMirroringCert String
The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
partnerMirroringURL String
The mirroring endpoint URL of the partner SQL managed instance.
partnerSyncMode String | FailoverGroupPartnerSyncMode
The partner sync mode of the SQL managed instance.
sharedName String
The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
sourceMI String
The name of the SQL managed instance with this failover group role.
role This property is required. string | InstanceFailoverGroupRole
The role of the SQL managed instance in this failover group.
partnerMI string
The name of the partner SQL managed instance.
partnerMirroringCert string
The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
partnerMirroringURL string
The mirroring endpoint URL of the partner SQL managed instance.
partnerSyncMode string | FailoverGroupPartnerSyncMode
The partner sync mode of the SQL managed instance.
sharedName string
The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
sourceMI string
The name of the SQL managed instance with this failover group role.
role This property is required. str | InstanceFailoverGroupRole
The role of the SQL managed instance in this failover group.
partner_mi str
The name of the partner SQL managed instance.
partner_mirroring_cert str
The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
partner_mirroring_url str
The mirroring endpoint URL of the partner SQL managed instance.
partner_sync_mode str | FailoverGroupPartnerSyncMode
The partner sync mode of the SQL managed instance.
shared_name str
The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
source_mi str
The name of the SQL managed instance with this failover group role.
role This property is required. String | "primary" | "secondary" | "force-primary-allow-data-loss" | "force-secondary"
The role of the SQL managed instance in this failover group.
partnerMI String
The name of the partner SQL managed instance.
partnerMirroringCert String
The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
partnerMirroringURL String
The mirroring endpoint URL of the partner SQL managed instance.
partnerSyncMode String | "async" | "sync"
The partner sync mode of the SQL managed instance.
sharedName String
The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
sourceMI String
The name of the SQL managed instance with this failover group role.

FailoverGroupSpecResponse
, FailoverGroupSpecResponseArgs

Role This property is required. string
The role of the SQL managed instance in this failover group.
PartnerMI string
The name of the partner SQL managed instance.
PartnerMirroringCert string
The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
PartnerMirroringURL string
The mirroring endpoint URL of the partner SQL managed instance.
PartnerSyncMode string
The partner sync mode of the SQL managed instance.
SharedName string
The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
SourceMI string
The name of the SQL managed instance with this failover group role.
Role This property is required. string
The role of the SQL managed instance in this failover group.
PartnerMI string
The name of the partner SQL managed instance.
PartnerMirroringCert string
The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
PartnerMirroringURL string
The mirroring endpoint URL of the partner SQL managed instance.
PartnerSyncMode string
The partner sync mode of the SQL managed instance.
SharedName string
The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
SourceMI string
The name of the SQL managed instance with this failover group role.
role This property is required. String
The role of the SQL managed instance in this failover group.
partnerMI String
The name of the partner SQL managed instance.
partnerMirroringCert String
The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
partnerMirroringURL String
The mirroring endpoint URL of the partner SQL managed instance.
partnerSyncMode String
The partner sync mode of the SQL managed instance.
sharedName String
The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
sourceMI String
The name of the SQL managed instance with this failover group role.
role This property is required. string
The role of the SQL managed instance in this failover group.
partnerMI string
The name of the partner SQL managed instance.
partnerMirroringCert string
The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
partnerMirroringURL string
The mirroring endpoint URL of the partner SQL managed instance.
partnerSyncMode string
The partner sync mode of the SQL managed instance.
sharedName string
The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
sourceMI string
The name of the SQL managed instance with this failover group role.
role This property is required. str
The role of the SQL managed instance in this failover group.
partner_mi str
The name of the partner SQL managed instance.
partner_mirroring_cert str
The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
partner_mirroring_url str
The mirroring endpoint URL of the partner SQL managed instance.
partner_sync_mode str
The partner sync mode of the SQL managed instance.
shared_name str
The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
source_mi str
The name of the SQL managed instance with this failover group role.
role This property is required. String
The role of the SQL managed instance in this failover group.
partnerMI String
The name of the partner SQL managed instance.
partnerMirroringCert String
The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
partnerMirroringURL String
The mirroring endpoint URL of the partner SQL managed instance.
partnerSyncMode String
The partner sync mode of the SQL managed instance.
sharedName String
The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
sourceMI String
The name of the SQL managed instance with this failover group role.

InstanceFailoverGroupRole
, InstanceFailoverGroupRoleArgs

Primary
primary
Secondary
secondary
Force_primary_allow_data_loss
force-primary-allow-data-loss
Force_secondary
force-secondary
InstanceFailoverGroupRolePrimary
primary
InstanceFailoverGroupRoleSecondary
secondary
InstanceFailoverGroupRole_Force_Primary_Allow_Data_Loss
force-primary-allow-data-loss
InstanceFailoverGroupRole_Force_Secondary
force-secondary
Primary
primary
Secondary
secondary
Forceprimaryallowdataloss
force-primary-allow-data-loss
Forcesecondary
force-secondary
Primary
primary
Secondary
secondary
Force_primary_allow_data_loss
force-primary-allow-data-loss
Force_secondary
force-secondary
PRIMARY
primary
SECONDARY
secondary
FORCE_PRIMARY_ALLOW_DATA_LOSS
force-primary-allow-data-loss
FORCE_SECONDARY
force-secondary
"primary"
primary
"secondary"
secondary
"force-primary-allow-data-loss"
force-primary-allow-data-loss
"force-secondary"
force-secondary

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

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

$ pulumi import azure-native:azurearcdata:FailoverGroup testFailoverGroupName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

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 v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi