DataVirtualHardDisk 成员

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

以下各表列出了由 DataVirtualHardDisk 类型公开的成员。

公共 构造函数

  Name 说明
  DataVirtualHardDisk Initializes a new instance of the DataVirtualHardDisk class.

返回页首

公共 属性

  Name 说明
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.

返回页首

公共 方法

(另请参见 受保护 方法)

  Name 说明
Equals  (继承自 Object
GetHashCode  (继承自 Object
GetType  (继承自 Object
ToString  (继承自 Object

返回页首

受保护 方法

  Name 说明
Finalize  (继承自 Object
MemberwiseClone  (继承自 Object

返回页首

另请参阅

参考

DataVirtualHardDisk 类
Microsoft.WindowsAzure.Management.Compute.Models 命名空间