Compute Engine v1 API - Class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection (3.2.0)

public sealed class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection : IMessage<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>, IEquatable<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>, IDeepCloneable<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>, IBufferMessage, IMessage

Inheritance

object > InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection()

public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection()

InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection(InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection)

public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection(InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection other)
Parameter
Name Description
other InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection

Properties

HasRank

public bool HasRank { get; }

Gets whether the "rank" field is set

Property Value
Type Description
bool

MachineTypes

public RepeatedField<string> MachineTypes { get; }

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

Property Value
Type Description
RepeatedFieldstring

Rank

public int Rank { get; set; }

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.

Property Value
Type Description
int