Dela via


StorageSku Class

Definition

The SKU of the storage account.

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

Constructors

StorageSku(StorageSkuName)

Initializes a new instance of StorageSku.

Properties

Name

The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.

Tier

The SKU tier. This is based on the SKU name.

Explicit Interface Implementations

IJsonModel<StorageSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to