VirtualMachineDataDiskCreateParameters 成员

Parameters supplied to the Create Virtual Machine Data Disk operation.

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

公共 构造函数

  Name 说明
  VirtualMachineDataDiskCreateParameters 重载。  

返回页首

公共 属性

  Name 说明
HostCaching Required. Specifies the platform caching behavior of data disk blob for read/write efficiency. The default vault is ReadOnly. Possible values are: None, ReadOnly, or ReadWrite. Warning: Setting this property impacts the consistency of the disk.
Label Optional. Specifies the description of the data disk. When you attach a disk, either by directly referencing a media using the MediaLink element or specifying the target disk size, you can use the DiskLabel element to customize the name property of the target data disk.
LogicalDiskSizeInGB Optional. Specifies the size, in GB, of an empty disk to be attached to the role. The disk can be created as part of disk attach or create VM role call by specifying the value for this property. Azure creates the empty disk based on size preference and attaches the newly created disk to the Role.
LogicalUnitNumber Optional. Specifies the Logical Unit Number (LUN) for the disk. The LUN specifies the slot in which the data drive appears when mounted for usage by the virtual machine. Valid LUN values are 0 through 15.
MediaLinkUri Required. Specifies the location of the blob in Azure storage where the media for the disk is located. The blob location must belong to the storage account in the subscription specified by the SubscriptionId value in the operation call. Example: http://example.blob.core.windows.net/disks/mydisk.vhd.
Name Optional. Specifies the name of the disk. Azure uses the specified disk to create the data disk for the machine and populates this field with the disk name.
SourceMediaLinkUri Optional. Specifies the location of a blob in account storage which is mounted as a data disk when the virtual machine is created.

返回页首

公共 方法

(另请参见 受保护 方法)

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

返回页首

受保护 方法

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

返回页首

另请参阅

参考

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