Memorystore v1 API - Enum CrossInstanceReplicationConfig.Types.InstanceRole (1.0.0-beta03)

public enum CrossInstanceReplicationConfig.Types.InstanceRole

Reference documentation and code samples for the Memorystore v1 API enum CrossInstanceReplicationConfig.Types.InstanceRole.

The role of the instance in cross instance replication.

Namespace

Google.Cloud.Memorystore.V1

Assembly

Google.Cloud.Memorystore.V1.dll

Fields

Name Description
None

This instance does not participate in cross instance replication. It is an independent instance and does not replicate to or from any other instances.

Primary

A instance that allows both reads and writes. Any data written to this instance is also replicated to the attached secondary instances.

Secondary

A instance that allows only reads and replicates data from a primary instance.

Unspecified

instance role is not set. The behavior is equivalent to NONE.