public class DiskEncryptionSettings extends Object
Constructor and Description |
---|
DiskEncryptionSettings() |
Modifier and Type | Method and Description |
---|---|
KeyVaultSecretReference |
diskEncryptionKey()
Get specifies the location of the disk encryption key, which is a Key Vault Secret.
|
Boolean |
enabled()
Get specifies whether disk encryption should be enabled on the virtual machine.
|
KeyVaultKeyReference |
keyEncryptionKey()
Get specifies the location of the key encryption key in Key Vault.
|
DiskEncryptionSettings |
withDiskEncryptionKey(KeyVaultSecretReference diskEncryptionKey)
Set specifies the location of the disk encryption key, which is a Key Vault Secret.
|
DiskEncryptionSettings |
withEnabled(Boolean enabled)
Set specifies whether disk encryption should be enabled on the virtual machine.
|
DiskEncryptionSettings |
withKeyEncryptionKey(KeyVaultKeyReference keyEncryptionKey)
Set specifies the location of the key encryption key in Key Vault.
|
public KeyVaultSecretReference diskEncryptionKey()
public DiskEncryptionSettings withDiskEncryptionKey(KeyVaultSecretReference diskEncryptionKey)
diskEncryptionKey
- the diskEncryptionKey value to setpublic KeyVaultKeyReference keyEncryptionKey()
public DiskEncryptionSettings withKeyEncryptionKey(KeyVaultKeyReference keyEncryptionKey)
keyEncryptionKey
- the keyEncryptionKey value to setpublic Boolean enabled()
public DiskEncryptionSettings withEnabled(Boolean enabled)
enabled
- the enabled value to setCopyright © 2019. All rights reserved.