ComputeSku Class

Definition

Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.

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

Constructors

ComputeSku()

Initializes a new instance of ComputeSku.

Properties

Capacity

Specifies the number of virtual machines in the scale set.

Name

The sku name.

Tier

Specifies the tier of virtual machines in a scale set.<br /><br /> Possible Values:<br /><br /> Standard<br /><br /> Basic.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ComputeSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ComputeSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputeSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ComputeSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to