Memorystore V1 API - Class Google::Cloud::Memorystore::V1::ZoneDistributionConfig (v1.14.0)

Reference documentation and code samples for the Memorystore V1 API class Google::Cloud::Memorystore::V1::ZoneDistributionConfig.

Zone distribution configuration for allocation of instance resources.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#active_zones

def active_zones() -> ::Array<::String>
Returns
  • (::Array<::String>) — Output only. The exact list of zones where the instance currently has active VMs.

#mode

def mode() -> ::Google::Cloud::Memorystore::V1::ZoneDistributionConfig::ZoneDistributionMode
Returns

#mode=

def mode=(value) -> ::Google::Cloud::Memorystore::V1::ZoneDistributionConfig::ZoneDistributionMode
Parameter
Returns

#zone

def zone() -> ::String
Returns
  • (::String) — Optional. Defines zone where all resources will be allocated with SINGLE_ZONE mode. Ignored for MULTI_ZONE mode.

#zone=

def zone=(value) -> ::String
Parameter
  • value (::String) — Optional. Defines zone where all resources will be allocated with SINGLE_ZONE mode. Ignored for MULTI_ZONE mode.
Returns
  • (::String) — Optional. Defines zone where all resources will be allocated with SINGLE_ZONE mode. Ignored for MULTI_ZONE mode.

#zones

def zones() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. Specify the zones of a multi-zone instance where Memorystore instance allocates resources. This flag isn't applicable for single-zone instances.

#zones=

def zones=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. Specify the zones of a multi-zone instance where Memorystore instance allocates resources. This flag isn't applicable for single-zone instances.
Returns
  • (::Array<::String>) — Optional. Specify the zones of a multi-zone instance where Memorystore instance allocates resources. This flag isn't applicable for single-zone instances.