Class Encryption

java.lang.Object
com.microsoft.azure.management.compute.Encryption

public class Encryption extends Object
Encryption at rest settings for disk or snapshot.
  • Constructor Details

    • Encryption

      public Encryption()
  • Method Details

    • diskEncryptionSetId

      public String diskEncryptionSetId()
      Get resourceId of the disk encryption set to use for enabling encryption at rest.
      Returns:
      the diskEncryptionSetId value
    • withDiskEncryptionSetId

      public Encryption withDiskEncryptionSetId(String diskEncryptionSetId)
      Set resourceId of the disk encryption set to use for enabling encryption at rest.
      Parameters:
      diskEncryptionSetId - the diskEncryptionSetId value to set
      Returns:
      the Encryption object itself.
    • type

      public EncryptionType type()
      Get possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey', 'EncryptionAtRestWithPlatformAndCustomerKeys'.
      Returns:
      the type value
    • withType

      public Encryption withType(EncryptionType type)
      Set possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey', 'EncryptionAtRestWithPlatformAndCustomerKeys'.
      Parameters:
      type - the type value to set
      Returns:
      the Encryption object itself.