Class Encryption
java.lang.Object
com.microsoft.azure.management.compute.Encryption
Encryption at rest settings for disk or snapshot.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet resourceId of the disk encryption set to use for enabling encryption at rest.type()
Get possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey', 'EncryptionAtRestWithPlatformAndCustomerKeys'.withDiskEncryptionSetId
(String diskEncryptionSetId) Set resourceId of the disk encryption set to use for enabling encryption at rest.withType
(EncryptionType type) Set possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey', 'EncryptionAtRestWithPlatformAndCustomerKeys'.
-
Constructor Details
-
Encryption
public Encryption()
-
-
Method Details
-
diskEncryptionSetId
Get resourceId of the disk encryption set to use for enabling encryption at rest.- Returns:
- the diskEncryptionSetId value
-
withDiskEncryptionSetId
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
Get possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey', 'EncryptionAtRestWithPlatformAndCustomerKeys'.- Returns:
- the type value
-
withType
Set possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey', 'EncryptionAtRestWithPlatformAndCustomerKeys'.- Parameters:
type
- the type value to set- Returns:
- the Encryption object itself.
-