Share via


PriorityMixPolicy Class

Definition

Specifies the target splits for Spot and Regular priority VMs within a scale set with flexible orchestration mode. With this property the customer is able to specify the base number of regular priority VMs created as the VMSS flex instance scales out and the split between Spot and Regular priority VMs after this base target has been reached.

public class PriorityMixPolicy
type PriorityMixPolicy = class
Public Class PriorityMixPolicy
Inheritance
PriorityMixPolicy

Constructors

PriorityMixPolicy()

Initializes a new instance of the PriorityMixPolicy class.

PriorityMixPolicy(Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the PriorityMixPolicy class.

Properties

BaseRegularPriorityCount

Gets or sets the base number of regular priority VMs that will be created in this scale set as it scales out.

RegularPriorityPercentageAboveBase

Gets or sets the percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority.

Methods

Validate()

Validate the object.

Applies to