Google Cloud Dataproc v1 API - Class InstanceFlexibilityPolicy.Types.ProvisioningModelMix (5.16.0)

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

Reference documentation and code samples for the Google Cloud Dataproc v1 API class InstanceFlexibilityPolicy.Types.ProvisioningModelMix.

Defines how Dataproc should create VMs with a mixture of provisioning models.

Inheritance

object > InstanceFlexibilityPolicy.Types.ProvisioningModelMix

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Constructors

ProvisioningModelMix()

public ProvisioningModelMix()

ProvisioningModelMix(ProvisioningModelMix)

public ProvisioningModelMix(InstanceFlexibilityPolicy.Types.ProvisioningModelMix other)
Parameter
Name Description
other InstanceFlexibilityPolicyTypesProvisioningModelMix

Properties

HasStandardCapacityBase

public bool HasStandardCapacityBase { get; }

Gets whether the "standard_capacity_base" field is set

Property Value
Type Description
bool

HasStandardCapacityPercentAboveBase

public bool HasStandardCapacityPercentAboveBase { get; }

Gets whether the "standard_capacity_percent_above_base" field is set

Property Value
Type Description
bool

StandardCapacityBase

public int StandardCapacityBase { get; set; }

Optional. The base capacity that will always use Standard VMs to avoid risk of more preemption than the minimum capacity you need. Dataproc will create only standard VMs until it reaches standard_capacity_base, then it will start using standard_capacity_percent_above_base to mix Spot with Standard VMs. eg. If 15 instances are requested and standard_capacity_base is 5, Dataproc will create 5 standard VMs and then start mixing spot and standard VMs for remaining 10 instances.

Property Value
Type Description
int

StandardCapacityPercentAboveBase

public int StandardCapacityPercentAboveBase { get; set; }

Optional. The percentage of target capacity that should use Standard VM. The remaining percentage will use Spot VMs. The percentage applies only to the capacity above standard_capacity_base. eg. If 15 instances are requested and standard_capacity_base is 5 and standard_capacity_percent_above_base is 30, Dataproc will create 5 standard VMs and then start mixing spot and standard VMs for remaining 10 instances. The mix will be 30% standard and 70% spot.

Property Value
Type Description
int