VirtualMachineEncryptionConfiguration<T> Class
- java.
lang. Object - com.
microsoft. azure. management. compute. VirtualMachineEncryptionConfiguration<T>
- com.
Type Parameters
- T
type presenting Windows or Linux specific settings
public class VirtualMachineEncryptionConfiguration<T extends VirtualMachineEncryptionConfiguration>
Type representing encryption configuration to be applied to a virtual machine.
Field Summary
Modifier and Type | Field and Description |
---|---|
final String | aadClientId |
final String | aadSecret |
String | encryptionAlgorithm |
String | keyEncryptionKeyURL |
String | keyEncryptionKeyVaultId |
final String | keyVaultId |
String | passPhrase |
Disk |
volumeType |
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineEncryptionConfiguration(String keyVaultId, String aadClientId, String aadSecret) |
Creates VirtualMachineEncryptionConfiguration. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String | aadClientId() |
String | aadSecret() |
String | keyEncryptionKeyURL() |
String | keyEncryptionKeyVaultId() |
String | keyVaultId() |
String | keyVaultUrl() |
String | linuxPassPhrase() |
abstract Operating |
osType() |
String | volumeEncryptionKeyEncryptAlgorithm() |
Disk |
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. |
Field Details
aadClientId
protected final String aadClientId
aadSecret
protected final String aadSecret
encryptionAlgorithm
protected String encryptionAlgorithm= "RSA-OAEP"
keyEncryptionKeyURL
protected String keyEncryptionKeyURL
keyEncryptionKeyVaultId
protected String keyEncryptionKeyVaultId
keyVaultId
protected final String keyVaultId
passPhrase
protected String passPhrase
volumeType
protected DiskVolumeType volumeType= DiskVolumeType.ALL
Constructor Details
VirtualMachineEncryptionConfiguration
protected VirtualMachineEncryptionConfiguration(String keyVaultId, String aadClientId, String aadSecret)
Creates VirtualMachineEncryptionConfiguration.
Parameters:
Method Details
aadClientId
public String aadClientId()
Returns:
aadSecret
public String aadSecret()
Returns:
keyEncryptionKeyURL
public String keyEncryptionKeyURL()
Returns:
keyEncryptionKeyVaultId
public String keyEncryptionKeyVaultId()
Returns:
keyVaultId
public String keyVaultId()
Returns:
keyVaultUrl
public String keyVaultUrl()
Returns:
linuxPassPhrase
public String linuxPassPhrase()
Returns:
osType
public abstract OperatingSystemTypes osType()
Returns:
volumeEncryptionKeyEncryptAlgorithm
public String volumeEncryptionKeyEncryptAlgorithm()
Returns:
volumeType
public DiskVolumeType volumeType()
Returns:
withVolumeEncryptionKeyEncryptAlgorithm
public T withVolumeEncryptionKeyEncryptAlgorithm(String encryptionAlgorithm)
Specifies the algorithm used to encrypt the disk-encryption key.
Parameters:
Returns:
withVolumeEncryptionKeyEncrypted
public T withVolumeEncryptionKeyEncrypted(String keyEncryptionKeyURL)
Specifies the Key Vault URL to the key for protecting or wrapping the disk-encryption key.
Parameters:
Returns:
withVolumeEncryptionKeyEncrypted
public 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.
Parameters:
Returns:
withVolumeType
public T withVolumeType(DiskVolumeType volumeType)
Specifies the volume to encrypt.
Parameters:
Returns:
Applies to
Azure SDK for Java