Dela via


SnapshotSku Class

Definition

The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot.

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

Constructors

SnapshotSku()

Initializes a new instance of SnapshotSku.

Properties

Name

The sku name.

Tier

The sku tier.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SnapshotSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SnapshotSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SnapshotSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SnapshotSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SnapshotSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to