Condividi tramite


AvsSku Class

Definition

The resource model definition representing SKU.

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

Constructors

AvsSku(String)

Initializes a new instance of AvsSku.

Properties

Capacity

If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.

Family

If the service has different generations of hardware, for the same SKU, then that can be captured here.

Name

The name of the SKU. E.g. P3. It is typically a letter+number code.

Size

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.

Tier

This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AvsSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AvsSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AvsSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AvsSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AvsSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to