Class CrossClusterReplicationConfig (0.1.12)

CrossClusterReplicationConfig(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Cross cluster replication config.

Attributes

Name Description
cluster_role google.cloud.redis_cluster_v1beta1.types.CrossClusterReplicationConfig.ClusterRole
The role of the cluster in cross cluster replication.
primary_cluster google.cloud.redis_cluster_v1beta1.types.CrossClusterReplicationConfig.RemoteCluster
Details of the primary cluster that is used as the replication source for this secondary cluster. This field is only set for a secondary cluster.
secondary_clusters MutableSequence[google.cloud.redis_cluster_v1beta1.types.CrossClusterReplicationConfig.RemoteCluster]
List of secondary clusters that are replicating from this primary cluster. This field is only set for a primary cluster.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The last time cross cluster replication config was updated.
membership google.cloud.redis_cluster_v1beta1.types.CrossClusterReplicationConfig.Membership
Output only. An output only view of all the member clusters participating in the cross cluster replication. This view will be provided by every member cluster irrespective of its cluster role(primary or secondary). A primary cluster can provide information about all the secondary clusters replicating from it. However, a secondary cluster only knows about the primary cluster from which it is replicating. However, for scenarios, where the primary cluster is unavailable(e.g. regional outage), a GetCluster request can be sent to any other member cluster and this field will list all the member clusters participating in cross cluster replication.

Classes

ClusterRole

ClusterRole(value)

The role of the cluster in cross cluster replication.

Membership

Membership(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An output only view of all the member clusters participating in the cross cluster replication.

RemoteCluster

RemoteCluster(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Details of the remote cluster associated with this cluster in a cross cluster replication setup.