public sealed class CrossClusterReplicationConfig : IMessage<CrossClusterReplicationConfig>, IEquatable<CrossClusterReplicationConfig>, IDeepCloneable<CrossClusterReplicationConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Memorystore for Redis (cluster management) v1 API class CrossClusterReplicationConfig.
Cross cluster replication config.
Implements
IMessageCrossClusterReplicationConfig, IEquatableCrossClusterReplicationConfig, IDeepCloneableCrossClusterReplicationConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Redis.Cluster.V1Assembly
Google.Cloud.Redis.Cluster.V1.dll
Constructors
CrossClusterReplicationConfig()
public CrossClusterReplicationConfig()
CrossClusterReplicationConfig(CrossClusterReplicationConfig)
public CrossClusterReplicationConfig(CrossClusterReplicationConfig other)
Parameter | |
---|---|
Name | Description |
other |
CrossClusterReplicationConfig |
Properties
ClusterRole
public CrossClusterReplicationConfig.Types.ClusterRole ClusterRole { get; set; }
The role of the cluster in cross cluster replication.
Property Value | |
---|---|
Type | Description |
CrossClusterReplicationConfigTypesClusterRole |
Membership
public CrossClusterReplicationConfig.Types.Membership Membership { get; set; }
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.
Property Value | |
---|---|
Type | Description |
CrossClusterReplicationConfigTypesMembership |
PrimaryCluster
public CrossClusterReplicationConfig.Types.RemoteCluster PrimaryCluster { get; set; }
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.
Property Value | |
---|---|
Type | Description |
CrossClusterReplicationConfigTypesRemoteCluster |
SecondaryClusters
public RepeatedField<CrossClusterReplicationConfig.Types.RemoteCluster> SecondaryClusters { get; }
List of secondary clusters that are replicating from this primary cluster.
This field is only set for a primary cluster.
Property Value | |
---|---|
Type | Description |
RepeatedFieldCrossClusterReplicationConfigTypesRemoteCluster |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The last time cross cluster replication config was updated.
Property Value | |
---|---|
Type | Description |
Timestamp |