Class EncryptionSettingsElement
java.lang.Object
com.microsoft.azure.management.compute.EncryptionSettingsElement
Encryption settings for one disk volume.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet key Vault Secret Url and vault id of the disk encryption key.Get key Vault Key Url and vault id of the key encryption key.withDiskEncryptionKey(KeyVaultAndSecretReference diskEncryptionKey) Set key Vault Secret Url and vault id of the disk encryption key.withKeyEncryptionKey(KeyVaultAndKeyReference keyEncryptionKey) Set key Vault Key Url and vault id of the key encryption key.
-
Constructor Details
-
EncryptionSettingsElement
public EncryptionSettingsElement()
-
-
Method Details
-
diskEncryptionKey
Get key Vault Secret Url and vault id of the disk encryption key.- Returns:
- the diskEncryptionKey value
-
withDiskEncryptionKey
public EncryptionSettingsElement withDiskEncryptionKey(KeyVaultAndSecretReference diskEncryptionKey) Set key Vault Secret Url and vault id of the disk encryption key.- Parameters:
diskEncryptionKey- the diskEncryptionKey value to set- Returns:
- the EncryptionSettingsElement object itself.
-
keyEncryptionKey
Get key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.- Returns:
- the keyEncryptionKey value
-
withKeyEncryptionKey
Set key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.- Parameters:
keyEncryptionKey- the keyEncryptionKey value to set- Returns:
- the EncryptionSettingsElement object itself.
-