Share via


RegularPriorityProfile Class

Definition

Configuration Options for Regular instances in Compute Fleet.

public class RegularPriorityProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ComputeFleet.Models.RegularPriorityProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ComputeFleet.Models.RegularPriorityProfile>
type RegularPriorityProfile = class
    interface IJsonModel<RegularPriorityProfile>
    interface IPersistableModel<RegularPriorityProfile>
Public Class RegularPriorityProfile
Implements IJsonModel(Of RegularPriorityProfile), IPersistableModel(Of RegularPriorityProfile)
Inheritance
RegularPriorityProfile
Implements

Constructors

RegularPriorityProfile()

Initializes a new instance of RegularPriorityProfile.

Properties

AllocationStrategy

Allocation strategy to follow when determining the VM sizes distribution for Regular VMs.

Capacity

Total capacity to achieve. It is currently in terms of number of VMs.

MinCapacity

Minimum capacity to achieve which cannot be updated. If we will not be able to "guarantee" minimum capacity, we will reject the request in the sync path itself.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RegularPriorityProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RegularPriorityProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RegularPriorityProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RegularPriorityProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RegularPriorityProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to