MySqlReplicaConfigurationResponse

data class MySqlReplicaConfigurationResponse(val caCertificate: String, val clientCertificate: String, val clientKey: String, val connectRetryInterval: Int, val dumpFilePath: String, val kind: String, val masterHeartbeatPeriod: String, val password: String, val sslCipher: String, val username: String, val verifyServerCertificate: Boolean)

Read-replica configuration specific to MySQL databases.

Constructors

Link copied to clipboard
fun MySqlReplicaConfigurationResponse(caCertificate: String, clientCertificate: String, clientKey: String, connectRetryInterval: Int, dumpFilePath: String, kind: String, masterHeartbeatPeriod: String, password: String, sslCipher: String, username: String, verifyServerCertificate: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

PEM representation of the trusted CA's x509 certificate.

Link copied to clipboard

PEM representation of the replica's x509 certificate.

Link copied to clipboard

PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.

Link copied to clipboard

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

Link copied to clipboard

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

This is always sql#mysqlReplicaConfiguration.

Link copied to clipboard

Interval in milliseconds between replication heartbeats.

Link copied to clipboard

The password for the replication connection.

Link copied to clipboard

A list of permissible ciphers to use for SSL encryption.

Link copied to clipboard

The username for the replication connection.

Link copied to clipboard

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