次の方法で共有


VirtualMachineScaleSetPriorityMixPolicy 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 VirtualMachineScaleSetPriorityMixPolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetPriorityMixPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetPriorityMixPolicy>
type VirtualMachineScaleSetPriorityMixPolicy = class
    interface IJsonModel<VirtualMachineScaleSetPriorityMixPolicy>
    interface IPersistableModel<VirtualMachineScaleSetPriorityMixPolicy>
Public Class VirtualMachineScaleSetPriorityMixPolicy
Implements IJsonModel(Of VirtualMachineScaleSetPriorityMixPolicy), IPersistableModel(Of VirtualMachineScaleSetPriorityMixPolicy)
Inheritance
VirtualMachineScaleSetPriorityMixPolicy
Implements

Constructors

VirtualMachineScaleSetPriorityMixPolicy()

Initializes a new instance of VirtualMachineScaleSetPriorityMixPolicy.

Properties

BaseRegularPriorityCount

The base number of regular priority VMs that will be created in this scale set as it scales out.

RegularPriorityPercentageAboveBase

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VirtualMachineScaleSetPriorityMixPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VirtualMachineScaleSetPriorityMixPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineScaleSetPriorityMixPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineScaleSetPriorityMixPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VirtualMachineScaleSetPriorityMixPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to