Share via


DataVirtualHardDisk Class

 

Represents a data disk that is attached to a Virtual Machine.

Namespace:   Microsoft.WindowsAzure.Management.Compute.Models
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Management.Compute.Models.DataVirtualHardDisk

Syntax

public class DataVirtualHardDisk
public ref class DataVirtualHardDisk 
type DataVirtualHardDisk = class end
Public Class DataVirtualHardDisk

Constructors

Name Description
System_CAPS_pubmethod DataVirtualHardDisk()

Initializes a new instance of the DataVirtualHardDisk class.

Properties

Name Description
System_CAPS_pubproperty HostCaching

Gets or sets a VirtualHardDiskHostCaching value that specifies the caching mode of the data disk.

System_CAPS_pubproperty IOType

Optional. Gets or sets the IO type.

System_CAPS_pubproperty Label

Optional. Specifies the friendly name of the VHD used to create the data disk for the virtual machine.

System_CAPS_pubproperty LogicalDiskSizeInGB

Gets or sets the size, in GB, of the data disk.

System_CAPS_pubproperty LogicalUnitNumber

Gets or sets the Logical Unit Number (LUN) for the data disk.

System_CAPS_pubproperty MediaLink

Gets or sets URI of the location where the new VHD is created when the new data disk is added.

System_CAPS_pubproperty Name

Optional. Specifies the name of the VHD used to create the data disk for the virtual machine.

System_CAPS_pubproperty SourceMediaLink

Optional. Optional. If the disk that is being added is already registered in the subscription or the VHD for the disk does not exist in blob storage, this element is ignored. If the VHD file exists in blob storage, this element defines the path to the VHD and a disk is registered from it and attached to the virtual machine.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Management.Compute.Models Namespace

Return to top