다음을 통해 공유


DiskSku Class

Definition

The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS.

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

Constructors

DiskSku()

Initializes a new instance of DiskSku.

Properties

Name

The sku name.

Tier

The sku tier.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DiskSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DiskSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DiskSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DiskSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DiskSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to