1.11.0 (latest) 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public enum CrossClusterReplicationConfig.Types.ClusterRole

Reference documentation and code samples for the Google Cloud Memorystore for Redis (cluster management) v1 API enum CrossClusterReplicationConfig.Types.ClusterRole.

The role of the cluster in cross cluster replication.

## Namespace

[Google.Cloud.Redis.Cluster.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1)

## Assembly

Google.Cloud.Redis.Cluster.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `None` | This cluster does not participate in cross cluster replication. It is an independent cluster and does not replicate to or from any other clusters. |
| `Primary` | A cluster that allows both reads and writes. Any data written to this cluster is also replicated to the attached secondary clusters. |
| `Secondary` | A cluster that allows only reads and replicates data from a primary cluster. |
| `Unspecified` | Cluster role is not set. The behavior is equivalent to NONE. |