Class: Google::Cloud::Compute::V1::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection

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

Instance Attribute Summary collapse

Instance Attribute Details

#machine_types::Array<::String>

Returns Full machine-type names, e.g. "n1-standard-16".

Returns:

  • (::Array<::String>)

    Full machine-type names, e.g. "n1-standard-16".



13945
13946
13947
13948
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13945

class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#rank::Integer

Returns Preference of this instance selection. Lower number means higher preference. MIG will first try to create a VM based on the machine-type with lowest rank and fallback to next rank based on availability. Machine types and instance selections with the same rank have the same preference.

Returns:

  • (::Integer)

    Preference of this instance selection. Lower number means higher preference. MIG will first try to create a VM based on the machine-type with lowest rank and fallback to next rank based on availability. Machine types and instance selections with the same rank have the same preference.



13945
13946
13947
13948
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13945

class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end