Partager via


SnapshotCreationData Class

Definition

Data used when creating a volume snapshot.

[Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.SnapshotCreationDataTypeConverter))]
public class SnapshotCreationData : Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.ISnapshotCreationData
[<Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.SnapshotCreationDataTypeConverter))>]
type SnapshotCreationData = class
    interface ISnapshotCreationData
    interface IJsonSerializable
Public Class SnapshotCreationData
Implements ISnapshotCreationData
Inheritance
SnapshotCreationData
Attributes
Implements

Constructors

SnapshotCreationData()

Creates an new SnapshotCreationData instance.

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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SnapshotCreationData.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SnapshotCreationData.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.ISnapshotCreationData.

FromJsonString(String)

Creates a new instance of SnapshotCreationData, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SnapshotCreationData into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to