ReplicationCluster class
A primary instance and disaster recovery (DR) replica pair.
A DR replica is a cross-region replica that you designate for failover in the event that the primary instance experiences regional failure. Applicable to MySQL and PostgreSQL.
Constructors
- ReplicationCluster({bool? drReplica, String? failoverDrReplicaName, String? psaWriteEndpoint})
- ReplicationCluster.fromJson(Map json_)
Properties
- drReplica ↔ bool?
-
Read-only field that indicates whether the replica is a DR replica.
getter/setter pair
- failoverDrReplicaName ↔ String?
-
If the instance is a primary instance, then this field identifies the
disaster recovery (DR) replica.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- psaWriteEndpoint ↔ String?
-
If set, this field indicates this instance has a private service access
(PSA) DNS endpoint that is pointing to the primary instance of the
cluster.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited