VirtualMachineAvailabilityGroupListenerReplicaArgs

data class VirtualMachineAvailabilityGroupListenerReplicaArgs(val commit: Output<String>, val failoverMode: Output<String>, val readableSecondary: Output<String>, val role: Output<String>, val sqlVirtualMachineId: Output<String>) : ConvertibleToJava<VirtualMachineAvailabilityGroupListenerReplicaArgs>

Constructors

constructor(commit: Output<String>, failoverMode: Output<String>, readableSecondary: Output<String>, role: Output<String>, sqlVirtualMachineId: Output<String>)

Properties

Link copied to clipboard
val commit: Output<String>

The replica commit mode for the availability group. Possible values are Synchronous_Commit and Asynchronous_Commit. Changing this forces a new resource to be created.

Link copied to clipboard
val failoverMode: Output<String>

The replica failover mode for the availability group. Possible values are Manual and Automatic. Changing this forces a new resource to be created.

Link copied to clipboard

The replica readable secondary mode for the availability group. Possible values are No, Read_Only and All. Changing this forces a new resource to be created.

Link copied to clipboard
val role: Output<String>

The replica role for the availability group. Possible values are Primary and Secondary. Changing this forces a new resource to be created.

Link copied to clipboard

The ID of the SQL Virtual Machine. Changing this forces a new resource to be created.

Functions

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