LinuxVMDiskEncryptionConfiguration Class

public class LinuxVMDiskEncryptionConfiguration extends VirtualMachineEncryptionConfiguration

Type representing encryption settings to be applied to a Linux virtual machine.

Constructor Summary

Constructor Description
LinuxVMDiskEncryptionConfiguration(String keyVaultId, String aadClientId, String aadSecret)

Creates LinuxVMDiskEncryptionSettings.

Method Summary

Modifier and Type Method and Description
OperatingSystemTypes osType()
LinuxVMDiskEncryptionConfiguration withPassPhrase(String passPhrase)

Specifies the pass phrase for encrypting Linux OS or data disks.

Inherited Members

VirtualMachineEncryptionConfiguration<T>.aadClientId VirtualMachineEncryptionConfiguration<T>.aadClientId() VirtualMachineEncryptionConfiguration<T>.aadSecret VirtualMachineEncryptionConfiguration<T>.aadSecret() VirtualMachineEncryptionConfiguration<T>.encryptionAlgorithm VirtualMachineEncryptionConfiguration<T>.keyEncryptionKeyURL VirtualMachineEncryptionConfiguration<T>.keyEncryptionKeyURL() VirtualMachineEncryptionConfiguration<T>.keyEncryptionKeyVaultId VirtualMachineEncryptionConfiguration<T>.keyEncryptionKeyVaultId() VirtualMachineEncryptionConfiguration<T>.keyVaultId VirtualMachineEncryptionConfiguration<T>.keyVaultId() VirtualMachineEncryptionConfiguration<T>.keyVaultUrl() VirtualMachineEncryptionConfiguration<T>.linuxPassPhrase() VirtualMachineEncryptionConfiguration<T>.passPhrase VirtualMachineEncryptionConfiguration<T>.VirtualMachineEncryptionConfiguration(String keyVaultId, String aadClientId, String aadSecret) VirtualMachineEncryptionConfiguration<T>.volumeEncryptionKeyEncryptAlgorithm() VirtualMachineEncryptionConfiguration<T>.volumeType VirtualMachineEncryptionConfiguration<T>.volumeType() VirtualMachineEncryptionConfiguration<T>.withVolumeEncryptionKeyEncryptAlgorithm(String encryptionAlgorithm) VirtualMachineEncryptionConfiguration<T>.withVolumeEncryptionKeyEncrypted(String keyEncryptionKeyURL) VirtualMachineEncryptionConfiguration<T>.withVolumeEncryptionKeyEncrypted(String keyEncryptionKeyURL, String keyEncryptionKeyKevVaultId) VirtualMachineEncryptionConfiguration<T>.withVolumeType(DiskVolumeType volumeType)

Constructor Details

LinuxVMDiskEncryptionConfiguration

public LinuxVMDiskEncryptionConfiguration(String keyVaultId, String aadClientId, String aadSecret)

Creates LinuxVMDiskEncryptionSettings.

Parameters:

keyVaultId - the resource ID of the Key Vault to store the disk encryption key
aadClientId - client ID of an AAD application which has permission to the key vault
aadSecret - client secret corresponding to the client ID

Method Details

osType

public OperatingSystemTypes osType()

withPassPhrase

public LinuxVMDiskEncryptionConfiguration withPassPhrase(String passPhrase)

Specifies the pass phrase for encrypting Linux OS or data disks.

Parameters:

passPhrase - the pass phrase

Returns:

LinuxVMDiskEncryptionSettings

Applies to