Class: Google::Cloud::Compute::V1::ResourcePolicyGroupPlacementPolicy

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

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

Defined Under Namespace

Modules: Collocation

Instance Attribute Summary collapse

Instance Attribute Details

#availability_domain_count::Integer

Returns 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



20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 20787

class ResourcePolicyGroupPlacementPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies network collocation
  module Collocation
    # A value indicating that the enum field is not set.
    UNDEFINED_COLLOCATION = 0

    COLLOCATED = 103257554

    UNSPECIFIED_COLLOCATION = 464308205
  end
end

#collocation::String

Returns 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.



20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 20787

class ResourcePolicyGroupPlacementPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies network collocation
  module Collocation
    # A value indicating that the enum field is not set.
    UNDEFINED_COLLOCATION = 0

    COLLOCATED = 103257554

    UNSPECIFIED_COLLOCATION = 464308205
  end
end

#vm_count::Integer

Returns Number of vms in this placement group.

Returns:

  • (::Integer)

    Number of vms in this placement group



20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 20787

class ResourcePolicyGroupPlacementPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies network collocation
  module Collocation
    # A value indicating that the enum field is not set.
    UNDEFINED_COLLOCATION = 0

    COLLOCATED = 103257554

    UNSPECIFIED_COLLOCATION = 464308205
  end
end