ManagedInstanceFailoverGroupArgs

data class ManagedInstanceFailoverGroupArgs(val location: Output<String>? = null, val managedInstanceName: Output<String>? = null, val name: Output<String>? = null, val partnerManagedInstanceId: Output<String>? = null, val readWriteEndpointFailoverPolicy: Output<ManagedInstanceFailoverGroupReadWriteEndpointFailoverPolicyArgs>? = null, val readonlyEndpointFailoverPolicyEnabled: Output<Boolean>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<ManagedInstanceFailoverGroupArgs>

Import

SQL Instance Failover Groups can be imported using the resource id, e.g.

$ pulumi import azure:sql/managedInstanceFailoverGroup:ManagedInstanceFailoverGroup example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Sql/locations/Location/instanceFailoverGroups/failoverGroup1

Constructors

Link copied to clipboard
fun ManagedInstanceFailoverGroupArgs(location: Output<String>? = null, managedInstanceName: Output<String>? = null, name: Output<String>? = null, partnerManagedInstanceId: Output<String>? = null, readWriteEndpointFailoverPolicy: Output<ManagedInstanceFailoverGroupReadWriteEndpointFailoverPolicyArgs>? = null, readonlyEndpointFailoverPolicyEnabled: Output<Boolean>? = null, resourceGroupName: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ManagedInstanceFailoverGroupArgs

Properties

Link copied to clipboard
val location: Output<String>? = null

The Azure Region where the SQL Instance Failover Group exists. Changing this forces a new resource to be created.

Link copied to clipboard
val managedInstanceName: Output<String>? = null

The name of the SQL Managed Instance which will be replicated using a SQL Instance Failover Group. Changing this forces a new SQL Instance Failover Group to be created.

Link copied to clipboard
val name: Output<String>? = null

The name which should be used for this SQL Instance Failover Group. Changing this forces a new SQL Instance Failover Group to be created.

Link copied to clipboard
val partnerManagedInstanceId: Output<String>? = null

ID of the SQL Managed Instance which will be replicated to. Changing this forces a new resource to be created.

Link copied to clipboard

Failover policy for the read-only endpoint. Defaults to true.

Link copied to clipboard

A read_write_endpoint_failover_policy block as defined below.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the Resource Group where the SQL Instance Failover Group should exist. Changing this forces a new SQL Instance Failover Group to be created.