DatabaseInstanceReplicaConfigurationArgs

data class DatabaseInstanceReplicaConfigurationArgs(val caCertificate: Output<String>? = null, val clientCertificate: Output<String>? = null, val clientKey: Output<String>? = null, val connectRetryInterval: Output<Int>? = null, val dumpFilePath: Output<String>? = null, val failoverTarget: Output<Boolean>? = null, val masterHeartbeatPeriod: Output<Int>? = null, val password: Output<String>? = null, val sslCipher: Output<String>? = null, val username: Output<String>? = null, val verifyServerCertificate: Output<Boolean>? = null) : ConvertibleToJava<DatabaseInstanceReplicaConfigurationArgs>

Constructors

Link copied to clipboard
constructor(caCertificate: Output<String>? = null, clientCertificate: Output<String>? = null, clientKey: Output<String>? = null, connectRetryInterval: Output<Int>? = null, dumpFilePath: Output<String>? = null, failoverTarget: Output<Boolean>? = null, masterHeartbeatPeriod: Output<Int>? = null, password: Output<String>? = null, sslCipher: Output<String>? = null, username: Output<String>? = null, verifyServerCertificate: Output<Boolean>? = null)

Properties

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

PEM representation of the trusted CA's x509 certificate.

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

PEM representation of the replica's x509 certificate.

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

PEM representation of the replica's private key. The corresponding public key in encoded in the client_certificate.

Link copied to clipboard
val connectRetryInterval: Output<Int>? = null

The number of seconds between connect retries. MySQL's default is 60 seconds.

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

Path to a SQL file in GCS from which replica instances are created. Format is gs://bucket/filename.

Link copied to clipboard
val failoverTarget: Output<Boolean>? = null

Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. If the master instance fails, the replica instance will be promoted as the new master instance.

Link copied to clipboard
val masterHeartbeatPeriod: Output<Int>? = null

Time in ms between replication heartbeats.

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

Password for the replication connection.

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

Username for replication connection.

Link copied to clipboard
val verifyServerCertificate: Output<Boolean>? = null

True if the master's common name value is checked during the SSL handshake.

Functions

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