DatabaseInstanceReplicaConfiguration class
Constructors
-
DatabaseInstanceReplicaConfiguration({Input<String?>? caCertificate, Input<bool?>? cascadableReplica, Input<String?>? clientCertificate, Input<String?>? clientKey, Input<int?>? connectRetryInterval, Input<String?>? dumpFilePath, Input<bool?>? failoverTarget, Input<int?>? masterHeartbeatPeriod, Input<String?>? password, Input<String?>? sslCipher, Input<String?>? username, Input<bool?>? verifyServerCertificate})
-
Creates a new DatabaseInstanceReplicaConfiguration.
caCertificate PEM representation of the trusted CA's x509
cascadableReplica Specifies if the replica is a cascadable replica. If true, instance must be in different region from primary.
clientCertificate PEM representation of the replica's x509
clientKey PEM representation of the replica's private key. The
connectRetryInterval The number of seconds
dumpFilePath Path to a SQL file in GCS from which replica
failoverTarget Specifies if the replica is the failover target.
masterHeartbeatPeriod Time in ms between replication
password Password for the replication connection.
sslCipher Permissible ciphers for use in SSL encryption.
username Username for replication connection.
verifyServerCertificate True if the master's common name
const
-
DatabaseInstanceReplicaConfiguration.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
caCertificate
→ Input<String?>?
-
PEM representation of the trusted CA's x509
certificate.
final
-
cascadableReplica
→ Input<bool?>?
-
Specifies if the replica is a cascadable replica. If true, instance must be in different region from primary.
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
corresponding public key in encoded in the
clientCertificate.
final
-
connectRetryInterval
→ Input<int?>?
-
The number of seconds
between connect retries. MySQL's default is 60 seconds.
final
-
dumpFilePath
→ Input<String?>?
-
Path to a SQL file in GCS from which replica
instances are created. Format is
gs://bucket/filename. Note, if the master
instance is a source representation instance this field must be present.
final
-
failoverTarget
→ Input<bool?>?
-
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.
> NOTE: Not supported for Postgres database.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
masterHeartbeatPeriod
→ Input<int?>?
-
Time in ms between replication
heartbeats.
final
-
password
→ Input<String?>?
-
Password for the replication connection.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
sslCipher
→ Input<String?>?
-
Permissible ciphers for use in SSL encryption.
final
-
username
→ Input<String?>?
-
Username for replication connection.
final
-
verifyServerCertificate
→ Input<bool?>?
-
True if the master's common name
value is checked during the SSL handshake.
final