Share via


InstanceSku Class

Definition

The role instance SKU.

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

Properties

Name

The sku name.

Tier

The tier of the cloud service role instance.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<InstanceSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<InstanceSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<InstanceSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<InstanceSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<InstanceSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to