Class DiskSecret

java.lang.Object
com.azure.resourcemanager.databox.models.DiskSecret

public final class DiskSecret extends Object
Contains all the secrets of a Disk.
  • Constructor Details

    • DiskSecret

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

    • diskSerialNumber

      public String diskSerialNumber()
      Get the diskSerialNumber property: Serial number of the assigned disk.
      Returns:
      the diskSerialNumber value.
    • bitLockerKey

      public String bitLockerKey()
      Get the bitLockerKey property: Bit Locker key of the disk which can be used to unlock the disk to copy data.
      Returns:
      the bitLockerKey value.
    • validate

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