Share via


VirtualMachineDataDiskCreateParameters Members

Parameters supplied to the Create Virtual Machine Data Disk operation.

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

Public Constructors

  Name Description
  VirtualMachineDataDiskCreateParameters Overloaded.  

Top

Public Properties

  Name Description
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: https://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.

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

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