View Source GoogleApi.SQLAdmin.V1.Model.ReplicationCluster (google_api_sql_admin v0.57.0)

Primary-DR replica pair

Attributes

  • drReplica (type: boolean(), default: nil) - Output only. read-only field that indicates if the replica is a dr_replica; not set for a primary.
  • failoverDrReplicaName (type: String.t, default: nil) - 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. Users can set this field to set a designated DR replica for a primary. Removing this field removes the DR replica.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.SQLAdmin.V1.Model.ReplicationCluster{
  drReplica: boolean() | nil,
  failoverDrReplicaName: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.