Interface VirtualMachineEncryption
public interface VirtualMachineEncryption
Virtual machine encryption related operations.
-
Method Summary
Modifier and TypeMethodDescriptiondisable(DiskVolumeType volumeType) Disable encryption for virtual machine disks.disableAsync(DiskVolumeType volumeType) Disable encryption for virtual machine disks.enable(LinuxVMDiskEncryptionConfiguration encryptionSettings) Enable encryption for Linux virtual machine disks.enable(WindowsVMDiskEncryptionConfiguration encryptionSettings) Enable encryption for Windows virtual machine disks.Enable encryption for virtual machine disks.Enable encryption for virtual machine disks.enableAsync(LinuxVMDiskEncryptionConfiguration encryptionSettings) Enable encryption for Linux virtual machine disks.enableAsync(WindowsVMDiskEncryptionConfiguration encryptionSettings) Enable encryption for Windows virtual machine disks.enableAsync(String keyVaultId) Enable encryption for virtual machine disks.enableAsync(String keyVaultId, String aadClientId, String aadSecret) Enable encryption for virtual machine disks.Gets current volume decryption status.Gets observable that emits current volume encryption/decryption status.
-
Method Details
-
enableAsync
Mono<DiskVolumeEncryptionMonitor> enableAsync(String keyVaultId, String aadClientId, String aadSecret) Enable encryption for virtual machine disks. Legacy encryption extension will be used to enable encryption.- Parameters:
keyVaultId- resource ID of the key vault to store the disk encryption keyaadClientId- client ID of an AAD application which has permission to the key vaultaadSecret- client secret corresponding to the aadClientId- Returns:
- a representation of the deferred computation of this call, returning the current volume encryption status
-
enableAsync
Enable encryption for virtual machine disks. NoAAD encryption extension will be used to enable encryption.- Parameters:
keyVaultId- resource ID of the key vault to store the disk encryption key- Returns:
- a representation of the deferred computation of this call, returning the current volume encryption status
-
enableAsync
Mono<DiskVolumeEncryptionMonitor> enableAsync(WindowsVMDiskEncryptionConfiguration encryptionSettings) Enable encryption for Windows virtual machine disks.- Parameters:
encryptionSettings- encryption settings for windows virtual machine- Returns:
- a representation of the deferred computation of this call, returning the current volume encryption status
-
enableAsync
Mono<DiskVolumeEncryptionMonitor> enableAsync(LinuxVMDiskEncryptionConfiguration encryptionSettings) Enable encryption for Linux virtual machine disks.- Parameters:
encryptionSettings- encryption settings for windows virtual machine- Returns:
- a representation of the deferred computation of this call, returning the current volume encryption status
-
disableAsync
Disable encryption for virtual machine disks.- Parameters:
volumeType- volume type to disable encryption- Returns:
- a representation of the deferred computation of this call, returning the current volume decryption status
-
getMonitorAsync
Mono<DiskVolumeEncryptionMonitor> getMonitorAsync()Gets observable that emits current volume encryption/decryption status.- Returns:
- observable that emits current volume encryption/decryption status
-
enable
Enable encryption for virtual machine disks.- Parameters:
keyVaultId- resource ID of the key vault to store the disk encryption keyaadClientId- client ID of an AAD application which has permission to the key vaultaadSecret- client secret corresponding to the aadClientId- Returns:
- current volume decryption status
-
enable
Enable encryption for virtual machine disks. NoAAD encryption extension will be used to enable encryption.- Parameters:
keyVaultId- resource ID of the key vault to store the disk encryption key- Returns:
- current volume decryption status
-
enable
Enable encryption for Windows virtual machine disks.- Parameters:
encryptionSettings- encryption settings for windows virtual machine- Returns:
- current volume encryption status
-
enable
Enable encryption for Linux virtual machine disks.- Parameters:
encryptionSettings- encryption settings for windows virtual machine- Returns:
- current volume encryption status
-
disable
Disable encryption for virtual machine disks.- Parameters:
volumeType- volume type to disable encryption- Returns:
- current volume encryption status
-
getMonitor
DiskVolumeEncryptionMonitor getMonitor()Gets current volume decryption status.- Returns:
- current volume decryption status
-