Google Cloud Memorystore for Redis V1 API - Module Google::Cloud::Redis::Cluster::V1::ZoneDistributionConfig::ZoneDistributionMode (v0.4.2)

Reference documentation and code samples for the Google Cloud Memorystore for Redis V1 API module Google::Cloud::Redis::Cluster::V1::ZoneDistributionConfig::ZoneDistributionMode.

Defines various modes of zone distribution. Currently supports two modes, can be expanded in future to support more types of distribution modes. design doc: go/same-zone-cluster

Constants

ZONE_DISTRIBUTION_MODE_UNSPECIFIED

value: 0
Not Set. Default: MULTI_ZONE

MULTI_ZONE

value: 1
Distribute all resources across 3 zones picked at random, within the region.

SINGLE_ZONE

value: 2
Distribute all resources in a single zone. The zone field must be specified, when this mode is selected.