public sealed class InstanceFlexibilityPolicy.Types.InstanceSelection : IMessage<InstanceFlexibilityPolicy.Types.InstanceSelection>, IEquatable<InstanceFlexibilityPolicy.Types.InstanceSelection>, IDeepCloneable<InstanceFlexibilityPolicy.Types.InstanceSelection>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dataproc v1 API class InstanceFlexibilityPolicy.Types.InstanceSelection.
Defines machines types and a rank to which the machines types belong.
Implements
IMessageInstanceFlexibilityPolicyTypesInstanceSelection, IEquatableInstanceFlexibilityPolicyTypesInstanceSelection, IDeepCloneableInstanceFlexibilityPolicyTypesInstanceSelection, IBufferMessage, IMessageNamespace
Google.Cloud.Dataproc.V1Assembly
Google.Cloud.Dataproc.V1.dll
Constructors
InstanceSelection()
public InstanceSelection()InstanceSelection(InstanceSelection)
public InstanceSelection(InstanceFlexibilityPolicy.Types.InstanceSelection other)| Parameter | |
|---|---|
| Name | Description |
other |
InstanceFlexibilityPolicyTypesInstanceSelection |
Properties
DiskConfig
public DiskConfig DiskConfig { get; set; }Optional. Disk configuration to apply to the instances in this instance selection. If specified on any entry in instanceSelectionList, then it must be specified on every entry in instanceSelectionList and the instanceGroupConfig must not specify any diskConfig.
| Property Value | |
|---|---|
| Type | Description |
DiskConfig |
|
MachineTypes
public RepeatedField<string> MachineTypes { get; }Optional. Full machine-type names, e.g. "n1-standard-16".
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
Rank
public int Rank { get; set; }Optional. Preference of this instance selection. Lower number means higher preference. Dataproc will first try to create a VM based on the machine-type with priority rank and fallback to next rank based on availability. Machine types and instance selections with the same priority have the same preference.
| Property Value | |
|---|---|
| Type | Description |
int |
|