Share via


SourceCreationData Class

Definition

Data source used when creating the volume.

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

Constructors

SourceCreationData()

Creates an new SourceCreationData instance.

Properties

CreateSource

This enumerates the possible sources of a volume creation.

SourceId

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SourceCreationData.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SourceCreationData.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SourceCreationData into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to