Class GalleryDataDiskImage
java.lang.Object
com.microsoft.azure.management.compute.GalleryDiskImage
com.microsoft.azure.management.compute.GalleryDataDiskImage
This is the data disk image.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.microsoft.azure.management.compute.GalleryDiskImage
hostCaching, sizeInGB, source, withHostCaching, withSource
-
Constructor Details
-
GalleryDataDiskImage
public GalleryDataDiskImage()
-
-
Method Details
-
lun
public int lun()Get this property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.- Returns:
- the lun value
-
withLun
Set this property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.- Parameters:
lun
- the lun value to set- Returns:
- the GalleryDataDiskImage object itself.
-