Share via


DataVirtualHardDisk Members

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

The following tables list the members exposed by the DataVirtualHardDisk type.

Public Constructors

  Name Description
  DataVirtualHardDisk Initializes a new instance of the DataVirtualHardDisk class.

Top

Public Properties

  Name Description
HostCaching Gets or sets a VirtualHardDiskHostCaching value that specifies the caching mode of the data disk.
IOType Optional. Gets or sets the IO type.
Label Optional. Specifies the friendly name of the VHD used to create the data disk for the virtual machine.
LogicalDiskSizeInGB Gets or sets the size, in GB, of the data disk.
LogicalUnitNumber Gets or sets the Logical Unit Number (LUN) for the data disk.
MediaLink Gets or sets URI of the location where the new VHD is created when the new data disk is added.
Name Optional. Specifies the name of the VHD used to create the data disk for the virtual machine.
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.

Top

Public Methods

(see also Protected Methods)

  Name Description
Equals  (Inherited from Object)
GetHashCode  (Inherited from Object)
GetType  (Inherited from Object)
ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
Finalize  (Inherited from Object)
MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

DataVirtualHardDisk Class
Microsoft.WindowsAzure.Management.Compute.Models Namespace