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.
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 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.
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=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.
Azure Native. Azure Arc Data. Inputs. Failover Group Properties - null
- Resource
Group stringName - The name of the Azure resource group
- Sql
Managed stringInstance Name - Name of SQL Managed Instance
- Failover
Group stringName - The name of the Failover Group
- Properties
Failover
Group Properties Args - null
- Resource
Group stringName - The name of the Azure resource group
- Sql
Managed stringInstance Name - Name of SQL Managed Instance
- Failover
Group stringName - The name of the Failover Group
- properties
Failover
Group Properties - null
- resource
Group StringName - The name of the Azure resource group
- sql
Managed StringInstance Name - Name of SQL Managed Instance
- failover
Group StringName - The name of the Failover Group
- properties
Failover
Group Properties - null
- resource
Group stringName - The name of the Azure resource group
- sql
Managed stringInstance Name - Name of SQL Managed Instance
- failover
Group stringName - The name of the Failover Group
- properties
Failover
Group 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
- resource
Group StringName - The name of the Azure resource group
- sql
Managed StringInstance Name - Name of SQL Managed Instance
- failover
Group 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
- System
Data 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
- System
Data 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
- system
Data 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
- system
Data 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
- system
Data 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
- Failover
Group Partner Sync Mode Async - async
- Failover
Group Partner Sync Mode Sync - sync
- Async
- async
- Sync
- sync
- Async
- async
- Sync
- sync
- ASYNC_
- async
- SYNC
- sync
- "async"
- async
- "sync"
- sync
FailoverGroupProperties, FailoverGroupPropertiesArgs
- Partner
Managed 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.
- Partner
Managed stringInstance Id - The resource ID of the partner SQL managed instance.
- Spec
Failover
Group Spec - The specifications of the failover group resource.
- Status interface{}
- The status of the failover group custom resource.
- partner
Managed StringInstance Id - The resource ID of the partner SQL managed instance.
- spec
Failover
Group Spec - The specifications of the failover group resource.
- status Object
- The status of the failover group custom resource.
- partner
Managed stringInstance Id - The resource ID of the partner SQL managed instance.
- spec
Failover
Group 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
Failover
Group Spec - The specifications of the failover group resource.
- status Any
- The status of the failover group custom resource.
- partner
Managed 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
- Partner
Managed stringInstance Id - The resource ID of the partner SQL managed instance.
- Provisioning
State 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.
- Partner
Managed stringInstance Id - The resource ID of the partner SQL managed instance.
- Provisioning
State string - The provisioning state of the failover group resource.
- Spec
Failover
Group Spec Response - The specifications of the failover group resource.
- Status interface{}
- The status of the failover group custom resource.
- partner
Managed StringInstance Id - The resource ID of the partner SQL managed instance.
- provisioning
State String - The provisioning state of the failover group resource.
- spec
Failover
Group Spec Response - The specifications of the failover group resource.
- status Object
- The status of the failover group custom resource.
- partner
Managed stringInstance Id - The resource ID of the partner SQL managed instance.
- provisioning
State string - The provisioning state of the failover group resource.
- spec
Failover
Group 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
Failover
Group Spec Response - The specifications of the failover group resource.
- status Any
- The status of the failover group custom resource.
- partner
Managed StringInstance Id - The resource ID of the partner SQL managed instance.
- provisioning
State 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.
- Partner
MI string - The name of the partner SQL managed instance.
- Partner
Mirroring stringCert - The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- Partner
Mirroring stringURL - The mirroring endpoint URL of the partner SQL managed instance.
- Partner
Sync 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.
- Source
MI string - The name of the SQL managed instance with this failover group role.
- Role
string | Instance
Failover Group Role - The role of the SQL managed instance in this failover group.
- Partner
MI string - The name of the partner SQL managed instance.
- Partner
Mirroring stringCert - The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- Partner
Mirroring stringURL - The mirroring endpoint URL of the partner SQL managed instance.
- Partner
Sync 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.
- Source
MI string - The name of the SQL managed instance with this failover group role.
- role
String | Instance
Failover Group Role - The role of the SQL managed instance in this failover group.
- partner
MI String - The name of the partner SQL managed instance.
- partner
Mirroring StringCert - The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- partner
Mirroring StringURL - The mirroring endpoint URL of the partner SQL managed instance.
- partner
Sync 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.
- source
MI String - The name of the SQL managed instance with this failover group role.
- role
string | Instance
Failover Group Role - The role of the SQL managed instance in this failover group.
- partner
MI string - The name of the partner SQL managed instance.
- partner
Mirroring stringCert - The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- partner
Mirroring stringURL - The mirroring endpoint URL of the partner SQL managed instance.
- partner
Sync 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.
- source
MI string - The name of the SQL managed instance with this failover group role.
- role
str | Instance
Failover 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.
- partner
MI String - The name of the partner SQL managed instance.
- partner
Mirroring StringCert - The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- partner
Mirroring StringURL - The mirroring endpoint URL of the partner SQL managed instance.
- partner
Sync 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.
- source
MI 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.
- Partner
MI string - The name of the partner SQL managed instance.
- Partner
Mirroring stringCert - The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- Partner
Mirroring stringURL - The mirroring endpoint URL of the partner SQL managed instance.
- Partner
Sync 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.
- Source
MI 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.
- Partner
MI string - The name of the partner SQL managed instance.
- Partner
Mirroring stringCert - The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- Partner
Mirroring stringURL - The mirroring endpoint URL of the partner SQL managed instance.
- Partner
Sync 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.
- Source
MI 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.
- partner
MI String - The name of the partner SQL managed instance.
- partner
Mirroring StringCert - The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- partner
Mirroring StringURL - The mirroring endpoint URL of the partner SQL managed instance.
- partner
Sync 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.
- source
MI 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.
- partner
MI string - The name of the partner SQL managed instance.
- partner
Mirroring stringCert - The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- partner
Mirroring stringURL - The mirroring endpoint URL of the partner SQL managed instance.
- partner
Sync 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.
- source
MI 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.
- partner
MI String - The name of the partner SQL managed instance.
- partner
Mirroring StringCert - The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
- partner
Mirroring StringURL - The mirroring endpoint URL of the partner SQL managed instance.
- partner
Sync 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.
- source
MI 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
- Instance
Failover Group Role Primary - primary
- Instance
Failover Group Role Secondary - secondary
- Instance
Failover Group Role_Force_Primary_Allow_Data_Loss - force-primary-allow-data-loss
- Instance
Failover 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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