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

azure-native.azurearcdata.FailoverGroup

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.39.0 published on Monday, Apr 29, 2024 by Pulumi

    A failover group resource. Azure REST API version: 2023-01-15-preview.

    Other available API versions: 2024-01-01.

    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 (
    	"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 pulumi
    import pulumi_azure_native as azure_native
    
    failover_group = azure_native.azurearcdata.FailoverGroup("failoverGroup",
        failover_group_name="testFailoverGroupName",
        properties=azure_native.azurearcdata.FailoverGroupPropertiesArgs(
            partner_managed_instance_id="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/partnerMI",
            spec=azure_native.azurearcdata.FailoverGroupSpecArgs(
                partner_sync_mode=azure_native.azurearcdata.FailoverGroupPartnerSyncMode.ASYNC_,
                role=azure_native.azurearcdata.InstanceFailoverGroupRole.PRIMARY,
            ),
        ),
        resource_group_name="testrg",
        sql_managed_instance_name="testSqlManagedInstance")
    
    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",
    });
    
    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.

    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=azure_native.azurearcdata.FailoverGroupPropertiesArgs(
            partner_managed_instance_id="string",
            spec=azure_native.azurearcdata.FailoverGroupSpecArgs(
                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

    The FailoverGroup resource accepts the following input properties:

    Properties Pulumi.AzureNative.AzureArcData.Inputs.FailoverGroupProperties
    null
    ResourceGroupName string
    The name of the Azure resource group
    SqlManagedInstanceName string
    Name of SQL Managed Instance
    FailoverGroupName string
    The name of the Failover Group
    Properties FailoverGroupPropertiesArgs
    null
    ResourceGroupName string
    The name of the Azure resource group
    SqlManagedInstanceName string
    Name of SQL Managed Instance
    FailoverGroupName string
    The name of the Failover Group
    properties FailoverGroupProperties
    null
    resourceGroupName String
    The name of the Azure resource group
    sqlManagedInstanceName String
    Name of SQL Managed Instance
    failoverGroupName String
    The name of the Failover Group
    properties FailoverGroupProperties
    null
    resourceGroupName string
    The name of the Azure resource group
    sqlManagedInstanceName string
    Name of SQL Managed Instance
    failoverGroupName string
    The name of the Failover Group
    properties FailoverGroupPropertiesArgs
    null
    resource_group_name str
    The name of the Azure resource group
    sql_managed_instance_name str
    Name of SQL Managed Instance
    failover_group_name str
    The name of the Failover Group
    properties Property Map
    null
    resourceGroupName String
    The name of the Azure resource group
    sqlManagedInstanceName String
    Name of SQL Managed Instance
    failoverGroupName 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:

    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"
    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"
    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"
    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"
    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"
    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 string
    The resource ID of the partner SQL managed instance.
    Spec Pulumi.AzureNative.AzureArcData.Inputs.FailoverGroupSpec
    The specifications of the failover group resource.
    Status object
    The status of the failover group custom resource.
    PartnerManagedInstanceId string
    The resource ID of the partner SQL managed instance.
    Spec FailoverGroupSpec
    The specifications of the failover group resource.
    Status interface{}
    The status of the failover group custom resource.
    partnerManagedInstanceId String
    The resource ID of the partner SQL managed instance.
    spec FailoverGroupSpec
    The specifications of the failover group resource.
    status Object
    The status of the failover group custom resource.
    partnerManagedInstanceId string
    The resource ID of the partner SQL managed instance.
    spec FailoverGroupSpec
    The specifications of the failover group resource.
    status any
    The status of the failover group custom resource.
    partner_managed_instance_id str
    The resource ID of the partner SQL managed instance.
    spec FailoverGroupSpec
    The specifications of the failover group resource.
    status Any
    The status of the failover group custom resource.
    partnerManagedInstanceId String
    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

    PartnerManagedInstanceId string
    The resource ID of the partner SQL managed instance.
    ProvisioningState string
    The provisioning state of the failover group resource.
    Spec Pulumi.AzureNative.AzureArcData.Inputs.FailoverGroupSpecResponse
    The specifications of the failover group resource.
    Status object
    The status of the failover group custom resource.
    PartnerManagedInstanceId string
    The resource ID of the partner SQL managed instance.
    ProvisioningState string
    The provisioning state of the failover group resource.
    Spec FailoverGroupSpecResponse
    The specifications of the failover group resource.
    Status interface{}
    The status of the failover group custom resource.
    partnerManagedInstanceId String
    The resource ID of the partner SQL managed instance.
    provisioningState String
    The provisioning state of the failover group resource.
    spec FailoverGroupSpecResponse
    The specifications of the failover group resource.
    status Object
    The status of the failover group custom resource.
    partnerManagedInstanceId string
    The resource ID of the partner SQL managed instance.
    provisioningState string
    The provisioning state of the failover group resource.
    spec FailoverGroupSpecResponse
    The specifications of the failover group resource.
    status any
    The status of the failover group custom resource.
    partner_managed_instance_id str
    The resource ID of the partner SQL managed instance.
    provisioning_state str
    The provisioning state of the failover group resource.
    spec FailoverGroupSpecResponse
    The specifications of the failover group resource.
    status Any
    The status of the failover group custom resource.
    partnerManagedInstanceId String
    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.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 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 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 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 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 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 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 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 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 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 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 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} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.39.0 published on Monday, Apr 29, 2024 by Pulumi