ReplicaArgs

data class ReplicaArgs(val promoteMode: Output<Either<String, ReadReplicaPromoteMode>>? = null, val promoteOption: Output<Either<String, ReplicationPromoteOption>>? = null, val role: Output<Either<String, ReplicationRole>>? = null) : ConvertibleToJava<ReplicaArgs>

Replica properties of a server

Constructors

Link copied to clipboard
constructor(promoteMode: Output<Either<String, ReadReplicaPromoteMode>>? = null, promoteOption: Output<Either<String, ReplicationPromoteOption>>? = null, role: Output<Either<String, ReplicationRole>>? = null)

Properties

Link copied to clipboard
val promoteMode: Output<Either<String, ReadReplicaPromoteMode>>? = null

Sets the promote mode for a replica server. This is a write only property.

Link copied to clipboard
val promoteOption: Output<Either<String, ReplicationPromoteOption>>? = null

Sets the promote options for a replica server. This is a write only property.

Link copied to clipboard
val role: Output<Either<String, ReplicationRole>>? = null

Used to indicate role of the server in replication set.

Functions

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