Class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection (1.21.0)

InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Attributes

Name Description
machine_types MutableSequence[str]
Full machine-type names, e.g. "n1-standard-16".
rank int
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. This field is a member of oneof_ _rank.