Volume Class

Definition

Volume represents storage made available for use by resources running on the cluster.

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

Constructors

Volume()

Creates an new Volume instance.

Properties

AttachedTo

The list of resource IDs that attach the volume. It may include virtual machines and Hybrid AKS clusters.

DetailedStatus

The more detailed status of the volume.

DetailedStatusMessage

The descriptive message about the current detailed status.

ExtendedLocationName

The resource ID of the extended location on which the resource will be created.

ExtendedLocationType

The extended location type, for example, CustomLocation.

Id

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

Location

The geo-location where the resource lives

Name

The name of the resource

ProvisioningState

The provisioning state of the volume.

ResourceGroupName

Gets the resource group name

SerialNumber

The unique identifier of the volume.

SizeMiB

The size of the allocation for this volume in Mebibytes.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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.

Tag

Resource tags.

Type

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

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.NetworkCloud.Models.Api20230701.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