Compartir a través de


IVirtualMachineEncryption.EnableAsync Método

Definición

Sobrecargas

EnableAsync(LinuxVMDiskEncryptionConfiguration, CancellationToken)

Habilite el cifrado para discos de máquina virtual Linux.

EnableAsync(WindowsVMDiskEncryptionConfiguration, CancellationToken)

Habilite el cifrado para discos de máquina virtual Windows.

EnableAsync(String, CancellationToken)

Habilite el cifrado para discos de máquina virtual.

EnableAsync(String, String, String, CancellationToken)

Habilite el cifrado para discos de máquina virtual.

EnableAsync(LinuxVMDiskEncryptionConfiguration, CancellationToken)

Habilite el cifrado 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

Configuración de cifrado para la máquina virtual windows.

cancellationToken
CancellationToken

Devoluciones

Se aplica a

EnableAsync(WindowsVMDiskEncryptionConfiguration, CancellationToken)

Habilite el cifrado para discos de máquina virtual 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

Configuración de cifrado para la máquina virtual windows.

cancellationToken
CancellationToken

Devoluciones

Se aplica a

EnableAsync(String, CancellationToken)

Habilite el cifrado 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

Identificador de recurso del almacén de claves para almacenar la clave de cifrado de disco.

cancellationToken
CancellationToken

Devoluciones

Se aplica a

EnableAsync(String, String, String, CancellationToken)

Habilite el cifrado 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

Identificador de recurso del almacén de claves para almacenar la clave de cifrado de disco.

aadClientId
String

Identificador de cliente de una aplicación de AAD que tiene permiso para el almacén de claves.

aadSecret
String

Secreto de cliente correspondiente al aadClientId.

cancellationToken
CancellationToken

Devoluciones

Se aplica a