Compartilhar via


IVirtualMachineEncryption.EnableAsync Método

Definição

Sobrecargas

EnableAsync(LinuxVMDiskEncryptionConfiguration, CancellationToken)

Habilitar a criptografia para discos de máquina virtual linux.

EnableAsync(WindowsVMDiskEncryptionConfiguration, CancellationToken)

Habilitar a criptografia para discos de máquina virtual do Windows.

EnableAsync(String, CancellationToken)

Habilitar a criptografia para discos de máquina virtual.

EnableAsync(String, String, String, CancellationToken)

Habilitar a criptografia para discos de máquina virtual.

EnableAsync(LinuxVMDiskEncryptionConfiguration, CancellationToken)

Habilitar a criptografia para discos de máquina virtual linux.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IDiskVolumeEncryptionMonitor> EnableAsync (Microsoft.Azure.Management.Compute.Fluent.LinuxVMDiskEncryptionConfiguration encryptionSettings, System.Threading.CancellationToken cancellationToken = default);
abstract member EnableAsync : Microsoft.Azure.Management.Compute.Fluent.LinuxVMDiskEncryptionConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IDiskVolumeEncryptionMonitor>
Public Function EnableAsync (encryptionSettings As LinuxVMDiskEncryptionConfiguration, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IDiskVolumeEncryptionMonitor)

Parâmetros

encryptionSettings
LinuxVMDiskEncryptionConfiguration

Configurações de criptografia para a máquina virtual do Windows.

cancellationToken
CancellationToken

Retornos

Aplica-se a

EnableAsync(WindowsVMDiskEncryptionConfiguration, CancellationToken)

Habilitar a criptografia para discos de máquina virtual do Windows.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IDiskVolumeEncryptionMonitor> EnableAsync (Microsoft.Azure.Management.Compute.Fluent.WindowsVMDiskEncryptionConfiguration encryptionSettings, System.Threading.CancellationToken cancellationToken = default);
abstract member EnableAsync : Microsoft.Azure.Management.Compute.Fluent.WindowsVMDiskEncryptionConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IDiskVolumeEncryptionMonitor>
Public Function EnableAsync (encryptionSettings As WindowsVMDiskEncryptionConfiguration, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IDiskVolumeEncryptionMonitor)

Parâmetros

encryptionSettings
WindowsVMDiskEncryptionConfiguration

Configurações de criptografia para a máquina virtual do Windows.

cancellationToken
CancellationToken

Retornos

Aplica-se a

EnableAsync(String, CancellationToken)

Habilitar a criptografia para discos de máquina virtual.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IDiskVolumeEncryptionMonitor> EnableAsync (string keyVaultId, System.Threading.CancellationToken cancellationToken = default);
abstract member EnableAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IDiskVolumeEncryptionMonitor>
Public Function EnableAsync (keyVaultId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IDiskVolumeEncryptionMonitor)

Parâmetros

keyVaultId
String

ID do recurso do cofre de chaves para armazenar a chave de criptografia de disco.

cancellationToken
CancellationToken

Retornos

Aplica-se a

EnableAsync(String, String, String, CancellationToken)

Habilitar a criptografia para discos de máquina virtual.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IDiskVolumeEncryptionMonitor> EnableAsync (string keyVaultId, string aadClientId, string aadSecret, System.Threading.CancellationToken cancellationToken = default);
abstract member EnableAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IDiskVolumeEncryptionMonitor>
Public Function EnableAsync (keyVaultId As String, aadClientId As String, aadSecret As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IDiskVolumeEncryptionMonitor)

Parâmetros

keyVaultId
String

ID do recurso do cofre de chaves para armazenar a chave de criptografia de disco.

aadClientId
String

ID do cliente de um aplicativo do AAD que tem permissão para o cofre de chaves.

aadSecret
String

Segredo do cliente correspondente ao aadClientId.

cancellationToken
CancellationToken

Retornos

Aplica-se a