GetDatabaseInstanceReplicaConfiguration class
Constructors
-
GetDatabaseInstanceReplicaConfiguration({required Input<String> caCertificate, required Input<bool> cascadableReplica, required Input<String> clientCertificate, required Input<String> clientKey, required Input<int> connectRetryInterval, required Input<String> dumpFilePath, required Input<bool> failoverTarget, required Input<int> masterHeartbeatPeriod, required Input<String> password, required Input<String> sslCipher, required Input<String> username, required Input<bool> verifyServerCertificate})
-
Creates a new GetDatabaseInstanceReplicaConfiguration.
caCertificate PEM representation of the trusted CA's x509 certificate.
cascadableReplica Specifies if a SQL Server replica is a cascadable replica. A cascadable replica is a SQL Server cross region replica that supports replica(s) under it.
clientCertificate PEM representation of the replica's x509 certificate.
clientKey PEM representation of the replica's private key. The corresponding public key in encoded in the client_certificate.
connectRetryInterval The number of seconds between connect retries. MySQL's default is 60 seconds.
dumpFilePath Path to a SQL file in Google Cloud Storage from which replica instances are created. Format is gs://bucket/filename.
failoverTarget 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. Not supported for Postgres
masterHeartbeatPeriod Time in ms between replication heartbeats.
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 value is checked during the SSL handshake.
const
-
GetDatabaseInstanceReplicaConfiguration.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 a SQL Server replica is a cascadable replica. A cascadable replica is a SQL Server cross region replica that supports replica(s) under it.
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 client_certificate.
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 Google Cloud Storage from which replica instances are created. Format is gs://bucket/filename.
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. Not supported for Postgres
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