Class DiskEncryptionSettings
java.lang.Object
com.microsoft.azure.management.compute.DiskEncryptionSettings
Describes a Encryption Settings for a Disk.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet specifies the location of the disk encryption key, which is a Key Vault Secret.enabled()
Get specifies whether disk encryption should be enabled on the virtual machine.Get specifies the location of the key encryption key in Key Vault.withDiskEncryptionKey
(KeyVaultSecretReference diskEncryptionKey) Set specifies the location of the disk encryption key, which is a Key Vault Secret.withEnabled
(Boolean enabled) Set specifies whether disk encryption should be enabled on the virtual machine.withKeyEncryptionKey
(KeyVaultKeyReference keyEncryptionKey) Set specifies the location of the key encryption key in Key Vault.
-
Constructor Details
-
DiskEncryptionSettings
public DiskEncryptionSettings()
-
-
Method Details
-
diskEncryptionKey
Get specifies the location of the disk encryption key, which is a Key Vault Secret.- Returns:
- the diskEncryptionKey value
-
withDiskEncryptionKey
Set specifies the location of the disk encryption key, which is a Key Vault Secret.- Parameters:
diskEncryptionKey
- the diskEncryptionKey value to set- Returns:
- the DiskEncryptionSettings object itself.
-
keyEncryptionKey
Get specifies the location of the key encryption key in Key Vault.- Returns:
- the keyEncryptionKey value
-
withKeyEncryptionKey
Set specifies the location of the key encryption key in Key Vault.- Parameters:
keyEncryptionKey
- the keyEncryptionKey value to set- Returns:
- the DiskEncryptionSettings object itself.
-
enabled
Get specifies whether disk encryption should be enabled on the virtual machine.- Returns:
- the enabled value
-
withEnabled
Set specifies whether disk encryption should be enabled on the virtual machine.- Parameters:
enabled
- the enabled value to set- Returns:
- the DiskEncryptionSettings object itself.
-