Partilhar via


IVirtualMachineEncryption.Enable Método

Definição

Sobrecargas

Enable(LinuxVMDiskEncryptionConfiguration)

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

Enable(WindowsVMDiskEncryptionConfiguration)

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

Enable(String)

Habilitar a criptografia para discos de máquina virtual.

Enable(String, String, String)

Habilitar a criptografia para discos de máquina virtual.

Enable(LinuxVMDiskEncryptionConfiguration)

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

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

Parâmetros

encryptionSettings
LinuxVMDiskEncryptionConfiguration

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

Retornos

Aplica-se a

Enable(WindowsVMDiskEncryptionConfiguration)

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

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

Parâmetros

encryptionSettings
WindowsVMDiskEncryptionConfiguration

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

Retornos

Aplica-se a

Enable(String)

Habilitar a criptografia para discos de máquina virtual.

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

Parâmetros

keyVaultId
String

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

Retornos

Aplica-se a

Enable(String, String, String)

Habilitar a criptografia para discos de máquina virtual.

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

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.

Retornos

Aplica-se a