Interface VirtualMachineEncryption
public interface VirtualMachineEncryption
Virtual machine encryption related operations.
-
Method Summary
Modifier and TypeMethodDescriptiondisable
(DiskVolumeType volumeType) Disable encryption for virtual machine disks.rx.Observable<DiskVolumeEncryptionMonitor>
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.rx.Observable<DiskVolumeEncryptionMonitor>
enableAsync
(LinuxVMDiskEncryptionConfiguration encryptionSettings) Enable encryption for Linux virtual machine disks.rx.Observable<DiskVolumeEncryptionMonitor>
enableAsync
(WindowsVMDiskEncryptionConfiguration encryptionSettings) Enable encryption for Windows virtual machine disks.rx.Observable<DiskVolumeEncryptionMonitor>
enableAsync
(String keyVaultId) Enable encryption for virtual machine disks.rx.Observable<DiskVolumeEncryptionMonitor>
enableAsync
(String keyVaultId, String aadClientId, String aadSecret) Enable encryption for virtual machine disks.rx.Observable<DiskVolumeEncryptionMonitor>
-
Method Details
-
enableAsync
rx.Observable<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
rx.Observable<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
rx.Observable<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
rx.Observable<DiskVolumeEncryptionMonitor> getMonitorAsync()- 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.- 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()- Returns:
- current volume decryption status
-