Class ImageDataDisk

java.lang.Object
com.microsoft.azure.management.compute.ImageDisk
com.microsoft.azure.management.compute.ImageDataDisk

public class ImageDataDisk extends ImageDisk
Describes a data disk.
  • 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

      public ImageDataDisk withLun(int lun)
      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.