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 to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.

Returns:

  • (::Integer)

    The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.



23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23271

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 = 103_257_554

    UNSPECIFIED_COLLOCATION = 464_308_205
  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.



23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23271

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 = 103_257_554

    UNSPECIFIED_COLLOCATION = 464_308_205
  end
end

#vm_count::Integer

Returns Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.

Returns:

  • (::Integer)

    Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.



23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23271

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 = 103_257_554

    UNSPECIFIED_COLLOCATION = 464_308_205
  end
end