Class DataDiskImageEncryption


  • public final class DataDiskImageEncryption
    extends DiskImageEncryption
    Contains encryption settings for a data disk image.
    • Constructor Detail

      • DataDiskImageEncryption

        public DataDiskImageEncryption()
    • Method Detail

      • lun

        public int lun()
        Get the lun property: 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

        public DataDiskImageEncryption withLun​(int lun)
        Set the lun property: 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 DataDiskImageEncryption object itself.
      • withDiskEncryptionSetId

        public DataDiskImageEncryption withDiskEncryptionSetId​(String diskEncryptionSetId)
        Set the diskEncryptionSetId property: A relative URI containing the resource ID of the disk encryption set.
        Overrides:
        withDiskEncryptionSetId in class DiskImageEncryption
        Parameters:
        diskEncryptionSetId - the diskEncryptionSetId value to set.
        Returns:
        the DiskImageEncryption object itself.