Class CrossClusterReplicationConfig
Cross cluster replication config.
Implements
Inherited Members
Namespace: Google.Apis.CloudRedis.v1.Data
Assembly: Google.Apis.CloudRedis.v1.dll
Syntax
public class CrossClusterReplicationConfig : IDirectResponseSchema
Properties
ClusterRole
The role of the cluster in cross cluster replication.
Declaration
[JsonProperty("clusterRole")]
public virtual string ClusterRole { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
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.
Declaration
[JsonProperty("membership")]
public virtual Membership Membership { get; set; }
Property Value
Type | Description |
---|---|
Membership |
PrimaryCluster
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.
Declaration
[JsonProperty("primaryCluster")]
public virtual RemoteCluster PrimaryCluster { get; set; }
Property Value
Type | Description |
---|---|
RemoteCluster |
SecondaryClusters
List of secondary clusters that are replicating from this primary cluster. This field is only set for a primary cluster.
Declaration
[JsonProperty("secondaryClusters")]
public virtual IList<RemoteCluster> SecondaryClusters { get; set; }
Property Value
Type | Description |
---|---|
IList<RemoteCluster> |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. The last time cross cluster replication config was updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |