public sealed class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection : IMessage<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>, IEquatable<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>, IDeepCloneable<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>, IBufferMessage, IMessage
Implements
IMessageInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection, IEquatableInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection, IDeepCloneableInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
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 |