Class Google::Cloud::Compute::V1::ResourcePolicyGroupPlacementPolicy (v1.1.0)

A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#availability_domain_count

def availability_domain_count() -> ::Integer
Returns
  • (::Integer) — The number of availability domains instances will be spread across. If two instances are in different availability domain, they will not be put in the same low latency network

#availability_domain_count=

def availability_domain_count=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of availability domains instances will be spread across. If two instances are in different availability domain, they will not be put in the same low latency network
Returns
  • (::Integer) — The number of availability domains instances will be spread across. If two instances are in different availability domain, they will not be put in the same low latency network

#collocation

def collocation() -> ::String
Returns
  • (::String) — Specifies network collocation Check the Collocation enum for the list of possible values.

#collocation=

def collocation=(value) -> ::String
Parameter
  • value (::String) — Specifies network collocation Check the Collocation enum for the list of possible values.
Returns
  • (::String) — Specifies network collocation Check the Collocation enum for the list of possible values.

#vm_count

def vm_count() -> ::Integer
Returns
  • (::Integer) — Number of vms in this placement group

#vm_count=

def vm_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Number of vms in this placement group
Returns
  • (::Integer) — Number of vms in this placement group