共用方式為


VolumeProperties Class

Definition

Volume response properties.

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

Constructors

VolumeProperties()

Creates an new VolumeProperties instance.

Properties

CreationDataCreateSource

This enumerates the possible sources of a volume creation.

CreationDataSourceId

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

ManagedByResourceId

Resource ID of the resource managing the volume.

ProvisioningState

State of the operation on the resource.

SizeGiB

Volume size.

StorageTargetIqn

iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".

StorageTargetPortalHostname

iSCSI Target Portal Host Name

StorageTargetPortalPort

iSCSI Target Portal Port

StorageTargetProvisioningState

State of the operation on the resource.

StorageTargetStatus

Operational status of the iSCSI Target.

VolumeId

Unique Id of the volume in GUID format

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VolumeProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VolumeProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of VolumeProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to