Interface VirtualMachineEncryption


  • public interface VirtualMachineEncryption
    Virtual machine encryption related operations.
    • Method Detail

      • 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 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

        Mono<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

        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

        Mono<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
      • 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. 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
      • disable

        DiskVolumeEncryptionMonitor disable​(DiskVolumeType volumeType)
        Disable encryption for virtual machine disks.
        Parameters:
        volumeType - volume type to disable encryption
        Returns:
        current volume encryption status