Module: Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::InstanceRole

Defined in:
proto_docs/google/cloud/memorystore/v1/memorystore.rb

Overview

The role of the instance in cross instance replication.

Constant Summary collapse

INSTANCE_ROLE_UNSPECIFIED =

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

0
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.

1
PRIMARY =

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

2
SECONDARY =

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

3