Class CrossInstanceReplicationConfig (0.3.0)

CrossInstanceReplicationConfig(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Cross instance replication config.

Attributes

Name Description
instance_role google.cloud.memorystore_v1.types.CrossInstanceReplicationConfig.InstanceRole
Required. The role of the instance in cross instance replication.
primary_instance google.cloud.memorystore_v1.types.CrossInstanceReplicationConfig.RemoteInstance
Optional. Details of the primary instance that is used as the replication source for this secondary instance. This field is only set for a secondary instance.
secondary_instances MutableSequence[google.cloud.memorystore_v1.types.CrossInstanceReplicationConfig.RemoteInstance]
Optional. List of secondary instances that are replicating from this primary instance. This field is only set for a primary instance.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The last time cross instance replication config was updated.
membership google.cloud.memorystore_v1.types.CrossInstanceReplicationConfig.Membership
Output only. An output only view of all the member instances participating in the cross instance replication. This view will be provided by every member instance irrespective of its instance role(primary or secondary). A primary instance can provide information about all the secondary instances replicating from it. However, a secondary instance only knows about the primary instance from which it is replicating. However, for scenarios, where the primary instance is unavailable(e.g. regional outage), a Getinstance request can be sent to any other member instance and this field will list all the member instances participating in cross instance replication.

Classes

InstanceRole

InstanceRole(value)

The role of the instance in cross instance replication.

Membership

Membership(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An output only view of all the member instances participating in the cross instance replication.

RemoteInstance

RemoteInstance(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Details of the remote instance associated with this instance in a cross instance replication setup.