Class ImageDataDisk
java.lang.Object
com.microsoft.azure.management.compute.ImageDisk
com.microsoft.azure.management.compute.ImageDataDisk
Describes a data disk.
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.microsoft.azure.management.compute.ImageDiskblobUri, caching, diskEncryptionSet, diskSizeGB, managedDisk, snapshot, storageAccountType, withBlobUri, withCaching, withDiskEncryptionSet, withDiskSizeGB, withManagedDisk, withSnapshot, withStorageAccountType
- 
Constructor Details- 
ImageDataDiskpublic ImageDataDisk()
 
- 
- 
Method Details- 
lunpublic int lun()Get specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.- Returns:
- the lun value
 
- 
withLunSet specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.- Parameters:
- lun- the lun value to set
- Returns:
- the ImageDataDisk object itself.
 
 
-