Dela via


ComputeSkuProfile Class

Definition

Specifies the sku profile for the virtual machine scale set. With this property the customer is able to specify a list of VM sizes and an allocation strategy.

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

Constructors

ComputeSkuProfile()

Initializes a new instance of ComputeSkuProfile.

Properties

AllocationStrategy

Specifies the allocation strategy for the virtual machine scale set based on which the VMs will be allocated.

VmSizes

Specifies the VM sizes for the virtual machine scale set.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ComputeSkuProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ComputeSkuProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeSkuProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputeSkuProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ComputeSkuProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to