MySqlReplicaConfigurationArgs

data class MySqlReplicaConfigurationArgs(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 kind: Output<String>? = null, val masterHeartbeatPeriod: Output<String>? = null, val password: Output<String>? = null, val sslCipher: Output<String>? = null, val username: Output<String>? = null, val verifyServerCertificate: Output<Boolean>? = null) : ConvertibleToJava<MySqlReplicaConfigurationArgs>

Read-replica configuration specific to MySQL databases.

Constructors

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

Functions

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

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 corresponsing public key is encoded in the client's certificate.

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

Seconds to wait between connect retries. MySQL's default is 60 seconds.

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

Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps have the binlog co-ordinates from which replication begins. This can be accomplished by setting --master-data to 1 when using mysqldump.

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

This is always sql#mysqlReplicaConfiguration.

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

Interval in milliseconds between replication heartbeats.

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

The password for the replication connection.

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

A list of permissible ciphers to use for SSL encryption.

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

The username for the replication connection.

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

Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake.