Class DataDiskImage

java.lang.Object
com.azure.resourcemanager.compute.models.DataDiskImage

public final class DataDiskImage extends Object
Contains the data disk images information.
  • Constructor Details

    • DataDiskImage

      public DataDiskImage()
      Creates an instance of DataDiskImage class.
  • Method Details

    • lun

      public Integer lun()
      Get the lun property: 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.