Partilhar via


Volume Class

Definition

Response for Volume request.

[Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.VolumeTypeConverter))]
public class Volume : Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IVolume, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IValidates
[<Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.VolumeTypeConverter))>]
type Volume = class
    interface IVolume
    interface IJsonSerializable
    interface IProxyResource
    interface IResource
    interface IValidates
Public Class Volume
Implements IValidates, IVolume
Inheritance
Volume
Attributes
Implements

Constructors

Volume()

Creates an new Volume 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}"

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

ManagedByResourceId

Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use.

Name

The name of the resource

ProvisioningState

State of the operation on the resource.

ResourceGroupName

Gets the resource group name

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.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

VolumeId

Unique Id of the volume in GUID format

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Volume.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Volume.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Volume into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to