Compartilhar via


VirtualMachineScaleSetSku Class

Definition

Describes an available virtual machine scale set sku.

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

Properties

Capacity

Specifies the number of virtual machines in the scale set.

ResourceType

The type of resource the sku applies to.

Sku

The Sku.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VirtualMachineScaleSetSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualMachineScaleSetSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineScaleSetSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineScaleSetSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachineScaleSetSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to