Partilhar via


SnapshotCreationInfo Class

Definition

Data used when creating a volume snapshot.

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

Constructors

SnapshotCreationInfo(ResourceIdentifier)

Initializes a new instance of SnapshotCreationInfo.

Properties

SourceId

Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}".

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SnapshotCreationInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SnapshotCreationInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SnapshotCreationInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SnapshotCreationInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SnapshotCreationInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to