public sealed class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection : IMessage<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>, IEquatable<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>, IDeepCloneable<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>, IBufferMessage, IMessageImplements
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
Disks
public RepeatedField<AttachedDisk> Disks { get; }List of disks to be attached to the instances created from this selection.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldAttachedDisk |
|
HasMinCpuPlatform
public bool HasMinCpuPlatform { get; }Gets whether the "min_cpu_platform" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
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 |
|
MinCpuPlatform
public string MinCpuPlatform { get; set; }Name of the minimum CPU platform to be used by this instance selection. e.g. 'Intel Ice Lake'.
| Property Value | |
|---|---|
| Type | Description |
string |
|
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 |
|