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
DataVirtualHardDisk()

Initializes a new instance of the DataVirtualHardDisk class.

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.

Methods

Name Description
Equals(Object)

(Inherited from Object.)

Finalize()

(Inherited from Object.)

GetHashCode()

(Inherited from Object.)

GetType()

(Inherited from Object.)

MemberwiseClone()

(Inherited from Object.)

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