public enum ZoneDistributionConfig.ZoneDistributionMode extends Enum<ZoneDistributionConfig.ZoneDistributionMode> implements ProtocolMessageEnum
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
Protobuf enum google.cloud.redis.cluster.v1.ZoneDistributionConfig.ZoneDistributionMode
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
MULTI_ZONE |
Distribute all resources across 3 zones picked at random, within the region. |
MULTI_ZONE_VALUE |
Distribute all resources across 3 zones picked at random, within the region. |
SINGLE_ZONE |
Distribute all resources in a single zone. The zone field must be specified, when this mode is selected. |
SINGLE_ZONE_VALUE |
Distribute all resources in a single zone. The zone field must be specified, when this mode is selected. |
UNRECOGNIZED |
|
ZONE_DISTRIBUTION_MODE_UNSPECIFIED |
Not Set. Default: MULTI_ZONE |
ZONE_DISTRIBUTION_MODE_UNSPECIFIED_VALUE |
Not Set. Default: MULTI_ZONE |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |