Google Cloud Dataproc v1 API - Class InstanceFlexibilityPolicy.Types.InstanceSelection (5.12.0)

public sealed class InstanceFlexibilityPolicy.Types.InstanceSelection : IMessage<InstanceFlexibilityPolicy.Types.InstanceSelection>, IEquatable<InstanceFlexibilityPolicy.Types.InstanceSelection>, IDeepCloneable<InstanceFlexibilityPolicy.Types.InstanceSelection>, IBufferMessage, IMessage

Reference 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.

Inheritance

object > InstanceFlexibilityPolicy.Types.InstanceSelection

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Constructors

InstanceSelection()

public InstanceSelection()

InstanceSelection(InstanceSelection)

public InstanceSelection(InstanceFlexibilityPolicy.Types.InstanceSelection other)
Parameter
Name Description
other InstanceFlexibilityPolicyTypesInstanceSelection

Properties

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