Share via


ServiceSku Class

Definition

An Azure SKU instance.

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

Constructors

ServiceSku()

Initializes a new instance of ServiceSku.

Properties

Capacity

The capacity of the SKU, if it supports scaling.

Family

The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines.

Name

The unique name of the SKU, such as 'P3'.

Size

The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines.

Tier

The tier of the SKU, such as 'Basic', 'General Purpose', or 'Business Critical'.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ServiceSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServiceSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServiceSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServiceSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServiceSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to