Interface VirtualMachineEncryption


public interface VirtualMachineEncryption
Virtual machine encryption related operations.
  • 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 key
      aadClientId - client ID of an AAD application which has permission to the key vault
      aadSecret - client secret corresponding to the aadClientId
      Returns:
      a representation of the deferred computation of this call, returning the current volume encryption status
    • enableAsync

      rx.Observable<DiskVolumeEncryptionMonitor> enableAsync(String keyVaultId)
      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

      rx.Observable<DiskVolumeEncryptionMonitor> disableAsync(DiskVolumeType volumeType)
      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

      DiskVolumeEncryptionMonitor enable(String keyVaultId, String aadClientId, String aadSecret)
      Enable encryption for virtual machine disks.
      Parameters:
      keyVaultId - 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 aadClientId
      Returns:
      current volume decryption status
    • enable

      DiskVolumeEncryptionMonitor enable(String keyVaultId)
      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

      Returns:
      current volume decryption status