Class RestorePointEncryption

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

public final class RestorePointEncryption extends Object
Encryption at rest settings for disk restore point. It is an optional property that can be specified in the input while creating a restore point.
  • Constructor Details

    • RestorePointEncryption

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

    • diskEncryptionSet

      public DiskEncryptionSetParameters diskEncryptionSet()
      Get the diskEncryptionSet property: Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.
      Returns:
      the diskEncryptionSet value.
    • withDiskEncryptionSet

      public RestorePointEncryption withDiskEncryptionSet(DiskEncryptionSetParameters diskEncryptionSet)
      Set the diskEncryptionSet property: Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.
      Parameters:
      diskEncryptionSet - the diskEncryptionSet value to set.
      Returns:
      the RestorePointEncryption object itself.
    • type

      Get the type property: The type of key used to encrypt the data of the disk restore point.
      Returns:
      the type value.
    • withType

      Set the type property: The type of key used to encrypt the data of the disk restore point.
      Parameters:
      type - the type value to set.
      Returns:
      the RestorePointEncryption object itself.
    • validate

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