Class: Google::Cloud::Memorystore::V1::ZoneDistributionConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Memorystore::V1::ZoneDistributionConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/memorystore/v1/memorystore.rb
Overview
Zone distribution configuration for allocation of instance resources.
Defined Under Namespace
Modules: ZoneDistributionMode
Instance Attribute Summary collapse
-
#mode ⇒ ::Google::Cloud::Memorystore::V1::ZoneDistributionConfig::ZoneDistributionMode
Optional.
-
#zone ⇒ ::String
Optional.
Instance Attribute Details
#mode ⇒ ::Google::Cloud::Memorystore::V1::ZoneDistributionConfig::ZoneDistributionMode
Returns Optional. Current zone distribution mode. Defaults to MULTI_ZONE.
890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 |
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 890 class ZoneDistributionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible zone distribution modes. module ZoneDistributionMode # Not Set. Default: MULTI_ZONE ZONE_DISTRIBUTION_MODE_UNSPECIFIED = 0 # Distribute resources across 3 zones picked at random within the # region. MULTI_ZONE = 1 # Provision resources in a single zone. Zone field must be specified. SINGLE_ZONE = 2 end end |
#zone ⇒ ::String
Returns Optional. Defines zone where all resources will be allocated with SINGLE_ZONE mode. Ignored for MULTI_ZONE mode.
890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 |
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 890 class ZoneDistributionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible zone distribution modes. module ZoneDistributionMode # Not Set. Default: MULTI_ZONE ZONE_DISTRIBUTION_MODE_UNSPECIFIED = 0 # Distribute resources across 3 zones picked at random within the # region. MULTI_ZONE = 1 # Provision resources in a single zone. Zone field must be specified. SINGLE_ZONE = 2 end end |