Class ImageDataDisk
java.lang.Object
com.microsoft.azure.management.compute.ImageDisk
com.microsoft.azure.management.compute.ImageDataDisk
Describes a data disk.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.microsoft.azure.management.compute.ImageDisk
blobUri, caching, diskEncryptionSet, diskSizeGB, managedDisk, snapshot, storageAccountType, withBlobUri, withCaching, withDiskEncryptionSet, withDiskSizeGB, withManagedDisk, withSnapshot, withStorageAccountType
-
Constructor Details
-
ImageDataDisk
public ImageDataDisk()
-
-
Method Details
-
lun
public 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
-
withLun
Set 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.
-