Class ReplicationCluster
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 has regional failure. Only applicable to MySQL.
Implements
Inherited Members
Namespace: Google.Apis.SQLAdmin.v1beta4.Data
Assembly: Google.Apis.SQLAdmin.v1beta4.dll
Syntax
public class ReplicationCluster : IDirectResponseSchema
Properties
DrReplica
Output only. Read-only field that indicates whether the replica is a DR replica. This field is not set if the instance is a primary instance.
Declaration
[JsonProperty("drReplica")]
public virtual bool? DrReplica { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FailoverDrReplicaName
Optional. If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. A DR replica is an optional configuration for Enterprise Plus edition instances. If the instance is a read replica, then the field is not set. Set this field to a replica name to designate a DR replica for a primary instance. Remove the replica name to remove the DR replica designation.
Declaration
[JsonProperty("failoverDrReplicaName")]
public virtual string FailoverDrReplicaName { get; set; }
Property Value
Type | Description |
---|---|
string |
PsaWriteEndpoint
Output only. If set, it indicates this instance has a private service access (PSA) dns endpoint that is pointing to the primary instance of the cluster. If this instance is the primary, the dns should be pointing to this instance. After Switchover or Replica failover, this DNS endpoint points to the promoted instance. This is a read-only field, returned to the user as information. This field can exist even if a standalone instance does not yet have a replica, or had a DR replica that was deleted.
Declaration
[JsonProperty("psaWriteEndpoint")]
public virtual string PsaWriteEndpoint { get; set; }
Property Value
Type | Description |
---|---|
string |