azure-native.azurearcdata.FailoverGroup
Explore with Pulumi AI
A failover group resource. Azure REST API version: 2023-01-15-preview.
Other available API versions: 2024-01-01, 2024-05-01-preview.
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",
    });
});
package main
import (
	azurearcdata "github.com/pulumi/pulumi-azure-native-sdk/azurearcdata/v2"
	"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
	})
}
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());
    }
}
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",
});
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")
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
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 string
- The unique name of the resource.
- args FailoverGroupArgs
- 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 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 string
- The unique name of the resource.
- args FailoverGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FailoverGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
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",
});
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
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
Pulumi.Azure Native. Azure Arc Data. Inputs. Failover Group Properties 
- null
- ResourceGroup stringName 
- The name of the Azure resource group
- SqlManaged stringInstance Name 
- Name of SQL Managed Instance
- FailoverGroup stringName 
- The name of the Failover Group
- Properties
FailoverGroup Properties Args 
- null
- ResourceGroup stringName 
- The name of the Azure resource group
- SqlManaged stringInstance Name 
- Name of SQL Managed Instance
- FailoverGroup stringName 
- The name of the Failover Group
- properties
FailoverGroup Properties 
- null
- resourceGroup StringName 
- The name of the Azure resource group
- sqlManaged StringInstance Name 
- Name of SQL Managed Instance
- failoverGroup StringName 
- The name of the Failover Group
- properties
FailoverGroup Properties 
- null
- resourceGroup stringName 
- The name of the Azure resource group
- sqlManaged stringInstance Name 
- Name of SQL Managed Instance
- failoverGroup stringName 
- The name of the Failover Group
- properties
FailoverGroup Properties Args 
- null
- resource_group_ strname 
- The name of the Azure resource group
- sql_managed_ strinstance_ name 
- Name of SQL Managed Instance
- failover_group_ strname 
- The name of the Failover Group
- properties Property Map
- null
- resourceGroup StringName 
- The name of the Azure resource group
- sqlManaged StringInstance Name 
- Name of SQL Managed Instance
- failoverGroup StringName 
- 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:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- SystemData Pulumi.Azure Native. Azure Arc Data. Outputs. System Data Response 
- 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"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- SystemData SystemData Response 
- 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"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- systemData SystemData Response 
- 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"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- systemData SystemData Response 
- 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"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_data SystemData Response 
- 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"
- 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
- FailoverGroup Partner Sync Mode Async 
- async
- FailoverGroup Partner Sync Mode Sync 
- sync
- Async
- async
- Sync
- sync
- Async
- async
- Sync
- sync
- ASYNC_
- async
- SYNC
- sync
- "async"
- async
- "sync"
- sync
FailoverGroupProperties, FailoverGroupPropertiesArgs      
- PartnerManaged stringInstance Id 
- The resource ID of the partner SQL managed instance.
- Spec
Pulumi.Azure Native. Azure Arc Data. Inputs. Failover Group Spec 
- The specifications of the failover group resource.
- Status object
- The status of the failover group custom resource.
- PartnerManaged stringInstance Id 
- The resource ID of the partner SQL managed instance.
- Spec
FailoverGroup Spec 
- The specifications of the failover group resource.
- Status interface{}
- The status of the failover group custom resource.
- partnerManaged StringInstance Id 
- The resource ID of the partner SQL managed instance.
- spec
FailoverGroup Spec 
- The specifications of the failover group resource.
- status Object
- The status of the failover group custom resource.
- partnerManaged stringInstance Id 
- The resource ID of the partner SQL managed instance.
- spec
FailoverGroup Spec 
- The specifications of the failover group resource.
- status any
- The status of the failover group custom resource.
- partner_managed_ strinstance_ id 
- The resource ID of the partner SQL managed instance.
- spec
FailoverGroup Spec 
- The specifications of the failover group resource.
- status Any
- The status of the failover group custom resource.
- partnerManaged StringInstance Id 
- The resource ID of the partner SQL managed instance.
- spec Property Map
- The specifications of the failover group resource.
- status Any
- The status of the failover group custom resource.
FailoverGroupPropertiesResponse, FailoverGroupPropertiesResponseArgs        
- PartnerManaged stringInstance Id 
- The resource ID of the partner SQL managed instance.
- ProvisioningState string
- The provisioning state of the failover group resource.
- Spec
Pulumi.Azure Native. Azure Arc Data. Inputs. Failover Group Spec Response 
- The specifications of the failover group resource.
- Status object
- The status of the failover group custom resource.
- PartnerManaged stringInstance Id 
- The resource ID of the partner SQL managed instance.
- ProvisioningState string
- The provisioning state of the failover group resource.
- Spec
FailoverGroup Spec Response 
- The specifications of the failover group resource.
- Status interface{}
- The status of the failover group custom resource.
- partnerManaged StringInstance Id 
- The resource ID of the partner SQL managed instance.
- provisioningState String
- The provisioning state of the failover group resource.
- spec
FailoverGroup Spec Response 
- The specifications of the failover group resource.
- status Object
- The status of the failover group custom resource.
- partnerManaged stringInstance Id 
- The resource ID of the partner SQL managed instance.
- provisioningState string
- The provisioning state of the failover group resource.
- spec
FailoverGroup Spec Response 
- The specifications of the failover group resource.
- status any
- The status of the failover group custom resource.
- partner_managed_ strinstance_ id 
- The resource ID of the partner SQL managed instance.
- provisioning_state str
- The provisioning state of the failover group resource.
- spec
FailoverGroup Spec Response 
- The specifications of the failover group resource.
- status Any
- The status of the failover group custom resource.
- partnerManaged StringInstance Id 
- The resource ID of the partner SQL managed instance.
- provisioningState String
- The provisioning state of the failover group resource.
- spec Property Map
- The specifications of the failover group resource.
- status Any
- The status of the failover group custom resource.
FailoverGroupSpec, FailoverGroupSpecArgs      
- Role
string | Pulumi.Azure Native. Azure Arc Data. Instance Failover Group Role 
- The role of the SQL managed instance in this failover group.
- PartnerMI string
- The name of the partner SQL managed instance.
- PartnerMirroring stringCert 
- The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- PartnerMirroring stringURL 
- The mirroring endpoint URL of the partner SQL managed instance.
- PartnerSync string | Pulumi.Mode Azure Native. Azure Arc Data. Failover Group Partner Sync Mode 
- The partner sync mode of the SQL managed instance.
- 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
string | InstanceFailover Group Role 
- The role of the SQL managed instance in this failover group.
- PartnerMI string
- The name of the partner SQL managed instance.
- PartnerMirroring stringCert 
- The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- PartnerMirroring stringURL 
- The mirroring endpoint URL of the partner SQL managed instance.
- PartnerSync string | FailoverMode Group Partner Sync Mode 
- The partner sync mode of the SQL managed instance.
- 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
String | InstanceFailover Group Role 
- The role of the SQL managed instance in this failover group.
- partnerMI String
- The name of the partner SQL managed instance.
- partnerMirroring StringCert 
- The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- partnerMirroring StringURL 
- The mirroring endpoint URL of the partner SQL managed instance.
- partnerSync String | FailoverMode Group Partner Sync Mode 
- The partner sync mode of the SQL managed instance.
- 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
string | InstanceFailover Group Role 
- The role of the SQL managed instance in this failover group.
- partnerMI string
- The name of the partner SQL managed instance.
- partnerMirroring stringCert 
- The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- partnerMirroring stringURL 
- The mirroring endpoint URL of the partner SQL managed instance.
- partnerSync string | FailoverMode Group Partner Sync Mode 
- The partner sync mode of the SQL managed instance.
- 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
str | InstanceFailover Group Role 
- The role of the SQL managed instance in this failover group.
- partner_mi str
- The name of the partner SQL managed instance.
- partner_mirroring_ strcert 
- The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- partner_mirroring_ strurl 
- The mirroring endpoint URL of the partner SQL managed instance.
- partner_sync_ str | Failovermode Group Partner Sync Mode 
- The partner sync mode of the SQL managed instance.
- 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 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.
- partnerMirroring StringCert 
- The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- partnerMirroring StringURL 
- The mirroring endpoint URL of the partner SQL managed instance.
- partnerSync String | "async" | "sync"Mode 
- The partner sync mode of the SQL managed instance.
- 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 string
- The role of the SQL managed instance in this failover group.
- PartnerMI string
- The name of the partner SQL managed instance.
- PartnerMirroring stringCert 
- The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- PartnerMirroring stringURL 
- The mirroring endpoint URL of the partner SQL managed instance.
- PartnerSync stringMode 
- The partner sync mode of the SQL managed instance.
- 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 string
- The role of the SQL managed instance in this failover group.
- PartnerMI string
- The name of the partner SQL managed instance.
- PartnerMirroring stringCert 
- The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- PartnerMirroring stringURL 
- The mirroring endpoint URL of the partner SQL managed instance.
- PartnerSync stringMode 
- The partner sync mode of the SQL managed instance.
- 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 String
- The role of the SQL managed instance in this failover group.
- partnerMI String
- The name of the partner SQL managed instance.
- partnerMirroring StringCert 
- The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- partnerMirroring StringURL 
- The mirroring endpoint URL of the partner SQL managed instance.
- partnerSync StringMode 
- The partner sync mode of the SQL managed instance.
- 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 string
- The role of the SQL managed instance in this failover group.
- partnerMI string
- The name of the partner SQL managed instance.
- partnerMirroring stringCert 
- The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- partnerMirroring stringURL 
- The mirroring endpoint URL of the partner SQL managed instance.
- partnerSync stringMode 
- The partner sync mode of the SQL managed instance.
- 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 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_ strcert 
- The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- partner_mirroring_ strurl 
- The mirroring endpoint URL of the partner SQL managed instance.
- partner_sync_ strmode 
- The partner sync mode of the SQL managed instance.
- 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 String
- The role of the SQL managed instance in this failover group.
- partnerMI String
- The name of the partner SQL managed instance.
- partnerMirroring StringCert 
- The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- partnerMirroring StringURL 
- The mirroring endpoint URL of the partner SQL managed instance.
- partnerSync StringMode 
- The partner sync mode of the SQL managed instance.
- 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
- InstanceFailover Group Role Primary 
- primary
- InstanceFailover Group Role Secondary 
- secondary
- InstanceFailover Group Role_Force_Primary_Allow_Data_Loss 
- force-primary-allow-data-loss
- InstanceFailover Group Role_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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0