IVirtualMachineEncryption.Enable Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Enable(LinuxVMDiskEncryptionConfiguration) |
Enable encryption for Linux virtual machine disks. |
Enable(WindowsVMDiskEncryptionConfiguration) |
Enable encryption for Windows virtual machine disks. |
Enable(String) |
Enable encryption for virtual machine disks. |
Enable(String, String, String) |
Enable encryption for virtual machine disks. |
Enable(LinuxVMDiskEncryptionConfiguration)
Enable encryption for Linux virtual machine disks.
public Microsoft.Azure.Management.Compute.Fluent.IDiskVolumeEncryptionMonitor Enable (Microsoft.Azure.Management.Compute.Fluent.LinuxVMDiskEncryptionConfiguration encryptionSettings);
abstract member Enable : Microsoft.Azure.Management.Compute.Fluent.LinuxVMDiskEncryptionConfiguration -> Microsoft.Azure.Management.Compute.Fluent.IDiskVolumeEncryptionMonitor
Public Function Enable (encryptionSettings As LinuxVMDiskEncryptionConfiguration) As IDiskVolumeEncryptionMonitor
Parameters
- encryptionSettings
- LinuxVMDiskEncryptionConfiguration
Encryption settings for windows virtual machine.
Returns
Applies to
Enable(WindowsVMDiskEncryptionConfiguration)
Enable encryption for Windows virtual machine disks.
public Microsoft.Azure.Management.Compute.Fluent.IDiskVolumeEncryptionMonitor Enable (Microsoft.Azure.Management.Compute.Fluent.WindowsVMDiskEncryptionConfiguration encryptionSettings);
abstract member Enable : Microsoft.Azure.Management.Compute.Fluent.WindowsVMDiskEncryptionConfiguration -> Microsoft.Azure.Management.Compute.Fluent.IDiskVolumeEncryptionMonitor
Public Function Enable (encryptionSettings As WindowsVMDiskEncryptionConfiguration) As IDiskVolumeEncryptionMonitor
Parameters
- encryptionSettings
- WindowsVMDiskEncryptionConfiguration
Encryption settings for windows virtual machine.
Returns
Applies to
Enable(String)
Enable encryption for virtual machine disks.
public Microsoft.Azure.Management.Compute.Fluent.IDiskVolumeEncryptionMonitor Enable (string keyVaultId);
abstract member Enable : string -> Microsoft.Azure.Management.Compute.Fluent.IDiskVolumeEncryptionMonitor
Public Function Enable (keyVaultId As String) As IDiskVolumeEncryptionMonitor
Parameters
- keyVaultId
- String
Resource ID of the key vault to store the disk encryption key.
Returns
Applies to
Enable(String, String, String)
Enable encryption for virtual machine disks.
public Microsoft.Azure.Management.Compute.Fluent.IDiskVolumeEncryptionMonitor Enable (string keyVaultId, string aadClientId, string aadSecret);
abstract member Enable : string * string * string -> Microsoft.Azure.Management.Compute.Fluent.IDiskVolumeEncryptionMonitor
Public Function Enable (keyVaultId As String, aadClientId As String, aadSecret As String) As IDiskVolumeEncryptionMonitor
Parameters
- keyVaultId
- String
Resource ID of the key vault to store the disk encryption key.
- aadClientId
- String
Client ID of an AAD application which has permission to the key vault.
- aadSecret
- String
Client secret corresponding to the aadClientId.
Returns
Applies to
Azure SDK for .NET