Class LinuxVMDiskEncryptionConfiguration
java.lang.Object
com.microsoft.azure.management.compute.VirtualMachineEncryptionConfiguration<LinuxVMDiskEncryptionConfiguration>
com.microsoft.azure.management.compute.LinuxVMDiskEncryptionConfiguration
public class LinuxVMDiskEncryptionConfiguration
extends VirtualMachineEncryptionConfiguration<LinuxVMDiskEncryptionConfiguration>
Type representing encryption settings to be applied to a Linux virtual machine.
-
Field Summary
Fields inherited from class com.microsoft.azure.management.compute.VirtualMachineEncryptionConfiguration
aadClientId, aadSecret, azureEnvironment, encryptionAlgorithm, keyEncryptionKeyURL, keyEncryptionKeyVaultId, keyVaultId, passPhrase, vaultUri, volumeType
-
Constructor Summary
ConstructorDescriptionLinuxVMDiskEncryptionConfiguration
(String keyVaultId) Creates LinuxVMDiskEncryptionSettings.LinuxVMDiskEncryptionConfiguration
(String keyVaultId, com.microsoft.azure.AzureEnvironment azureEnvironment) Creates LinuxVMDiskEncryptionSettings.LinuxVMDiskEncryptionConfiguration
(String keyVaultId, String vaultUri) Creates LinuxVMDiskEncryptionSettings.LinuxVMDiskEncryptionConfiguration
(String keyVaultId, String aadClientId, String aadSecret) Creates LinuxVMDiskEncryptionSettings.LinuxVMDiskEncryptionConfiguration
(String keyVaultId, String aadClientId, String aadSecret, com.microsoft.azure.AzureEnvironment azureEnvironment) Creates LinuxVMDiskEncryptionSettings.LinuxVMDiskEncryptionConfiguration
(String keyVaultId, String vaultUri, String aadClientId, String aadSecret) Creates LinuxVMDiskEncryptionSettings. -
Method Summary
Modifier and TypeMethodDescriptionosType()
withPassPhrase
(String passPhrase) Specifies the pass phrase for encrypting Linux OS or data disks.Methods inherited from class com.microsoft.azure.management.compute.VirtualMachineEncryptionConfiguration
aadClientId, aadSecret, keyEncryptionKeyURL, keyEncryptionKeyVaultId, keyVaultId, keyVaultUrl, linuxPassPhrase, volumeEncryptionKeyEncryptAlgorithm, volumeType, withVolumeEncryptionKeyEncryptAlgorithm, withVolumeEncryptionKeyEncrypted, withVolumeEncryptionKeyEncrypted, withVolumeType
-
Constructor Details
-
LinuxVMDiskEncryptionConfiguration
Creates LinuxVMDiskEncryptionSettings.- Parameters:
keyVaultId
- the resource ID of the KeyVault to store the disk encryption keyaadClientId
- client ID of an AAD application which has permission to the KeyVaultaadSecret
- client secret corresponding to the client ID
-
LinuxVMDiskEncryptionConfiguration
public LinuxVMDiskEncryptionConfiguration(String keyVaultId, String vaultUri, String aadClientId, String aadSecret) Creates LinuxVMDiskEncryptionSettings.- Parameters:
keyVaultId
- the resource ID of the KeyVault to store the disk encryption keyvaultUri
- URI of the key vault data-plane endpointaadClientId
- client ID of an AAD application which has permission to the KeyVaultaadSecret
- client secret corresponding to the client ID
-
LinuxVMDiskEncryptionConfiguration
public LinuxVMDiskEncryptionConfiguration(String keyVaultId, String aadClientId, String aadSecret, com.microsoft.azure.AzureEnvironment azureEnvironment) Creates LinuxVMDiskEncryptionSettings.- Parameters:
keyVaultId
- the resource ID of the KeyVault to store the disk encryption keyaadClientId
- client ID of an AAD application which has permission to the KeyVaultaadSecret
- client secret corresponding to the client IDazureEnvironment
- Azure environment
-
LinuxVMDiskEncryptionConfiguration
Creates LinuxVMDiskEncryptionSettings.- Parameters:
keyVaultId
- the resource ID of the KeyVault to store the disk encryption key
-
LinuxVMDiskEncryptionConfiguration
Creates LinuxVMDiskEncryptionSettings.- Parameters:
keyVaultId
- the resource ID of the KeyVault to store the disk encryption keyvaultUri
- URI of the key vault data-plane endpoint
-
LinuxVMDiskEncryptionConfiguration
public LinuxVMDiskEncryptionConfiguration(String keyVaultId, com.microsoft.azure.AzureEnvironment azureEnvironment) Creates LinuxVMDiskEncryptionSettings.- Parameters:
keyVaultId
- the resource ID of the KeyVault to store the disk encryption keyazureEnvironment
- Azure environment
-
-
Method Details
-
osType
- Specified by:
osType
in classVirtualMachineEncryptionConfiguration<LinuxVMDiskEncryptionConfiguration>
- Returns:
- the operating system type
-
withPassPhrase
Specifies the pass phrase for encrypting Linux OS or data disks.- Parameters:
passPhrase
- the pass phrase- Returns:
- LinuxVMDiskEncryptionSettings
-