MySqlReplicaConfiguration class
Read-replica configuration specific to MySQL databases.
Constructors
-
MySqlReplicaConfiguration({Input<
String> ? caCertificate, Input<String> ? clientCertificate, Input<String> ? clientKey, Input<int> ? connectRetryInterval, Input<String> ? dumpFilePath, Input<String> ? kind, Input<String> ? masterHeartbeatPeriod, Input<String> ? password, Input<String> ? sslCipher, Input<String> ? username, Input<bool> ? verifyServerCertificate}) -
Creates a new MySqlReplicaConfiguration.
caCertificatePEM representation of the trusted CA's x509 certificate.clientCertificatePEM representation of the replica's x509 certificate.clientKeyPEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.connectRetryIntervalSeconds to wait between connect retries. MySQL's default is 60 seconds.dumpFilePathPath 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.kindThis is alwayssql#mysqlReplicaConfiguration.masterHeartbeatPeriodInterval in milliseconds between replication heartbeats.passwordThe password for the replication connection.sslCipherA list of permissible ciphers to use for SSL encryption.usernameThe username for the replication connection.verifyServerCertificateWhether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake.const -
MySqlReplicaConfiguration.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
caCertificate
→ Input<
String> ? -
PEM representation of the trusted CA's x509 certificate.
final
-
clientCertificate
→ Input<
String> ? -
PEM representation of the replica's x509 certificate.
final
-
clientKey
→ Input<
String> ? -
PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.
final
-
connectRetryInterval
→ Input<
int> ? -
Seconds to wait between connect retries. MySQL's default is 60 seconds.
final
-
dumpFilePath
→ Input<
String> ? -
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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kind
→ Input<
String> ? -
This is always
sql#mysqlReplicaConfiguration.final -
masterHeartbeatPeriod
→ Input<
String> ? -
Interval in milliseconds between replication heartbeats.
final
-
password
→ Input<
String> ? -
The password for the replication connection.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sslCipher
→ Input<
String> ? -
A list of permissible ciphers to use for SSL encryption.
final
-
username
→ Input<
String> ? -
The username for the replication connection.
final
-
verifyServerCertificate
→ Input<
bool> ? -
Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited