T
- type presenting Windows or Linux specific settingspublic abstract class VirtualMachineEncryptionConfiguration<T extends VirtualMachineEncryptionConfiguration<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
aadClientId |
protected String |
aadSecret |
protected String |
encryptionAlgorithm |
protected String |
keyEncryptionKeyURL |
protected String |
keyEncryptionKeyVaultId |
protected String |
keyVaultId |
protected String |
passPhrase |
protected DiskVolumeType |
volumeType |
Modifier | Constructor and Description |
---|---|
protected |
VirtualMachineEncryptionConfiguration(String keyVaultId)
Creates VirtualMachineEncryptionConfiguration.
|
protected |
VirtualMachineEncryptionConfiguration(String keyVaultId,
String aadClientId,
String aadSecret)
Creates VirtualMachineEncryptionConfiguration.
|
Modifier and Type | Method and Description |
---|---|
String |
aadClientId() |
String |
aadSecret() |
String |
keyEncryptionKeyURL() |
String |
keyEncryptionKeyVaultId() |
String |
keyVaultId() |
String |
keyVaultUrl() |
String |
linuxPassPhrase() |
abstract OperatingSystemTypes |
osType() |
String |
volumeEncryptionKeyEncryptAlgorithm() |
DiskVolumeType |
volumeType() |
T |
withVolumeEncryptionKeyEncryptAlgorithm(String encryptionAlgorithm)
Specifies the algorithm used to encrypt the disk-encryption key.
|
T |
withVolumeEncryptionKeyEncrypted(String keyEncryptionKeyURL)
Specifies the Key Vault URL to the key for protecting or wrapping the disk-encryption key.
|
T |
withVolumeEncryptionKeyEncrypted(String keyEncryptionKeyURL,
String keyEncryptionKeyKevVaultId)
Specifies the and key vault Id and a vault URL to the key for protecting or wrapping the disk-encryption key.
|
T |
withVolumeType(DiskVolumeType volumeType)
Specifies the volume to encrypt.
|
protected final String keyVaultId
protected final String aadClientId
protected final String aadSecret
protected DiskVolumeType volumeType
protected String keyEncryptionKeyURL
protected String keyEncryptionKeyVaultId
protected String encryptionAlgorithm
protected String passPhrase
protected VirtualMachineEncryptionConfiguration(String keyVaultId, String aadClientId, String aadSecret)
keyVaultId
- resource ID of the KeyVault to store the disk encryption keyaadClientId
- AAD application client ID to access the KeyVaultaadSecret
- AAD application client secret to access the KeyVaultprotected VirtualMachineEncryptionConfiguration(String keyVaultId)
keyVaultId
- resource ID of the KeyVault to store the disk encryption keypublic abstract OperatingSystemTypes osType()
public String aadClientId()
public String aadSecret()
public DiskVolumeType volumeType()
public String keyVaultId()
public String keyVaultUrl()
public String keyEncryptionKeyVaultId()
public String keyEncryptionKeyURL()
public String volumeEncryptionKeyEncryptAlgorithm()
public String linuxPassPhrase()
public T withVolumeType(DiskVolumeType volumeType)
volumeType
- the volume typepublic T withVolumeEncryptionKeyEncrypted(String keyEncryptionKeyURL)
keyEncryptionKeyURL
- the key (KEK) URLpublic T withVolumeEncryptionKeyEncrypted(String keyEncryptionKeyURL, String keyEncryptionKeyKevVaultId)
keyEncryptionKeyURL
- the key (KEK) URLkeyEncryptionKeyKevVaultId
- resource ID of the keyVault storing KEKCopyright © 2019. All rights reserved.