次の方法で共有


IVirtualMachineEncryption.EnableAsync メソッド

定義

オーバーロード

EnableAsync(LinuxVMDiskEncryptionConfiguration, CancellationToken)

Linux 仮想マシン ディスクの暗号化を有効にします。

EnableAsync(WindowsVMDiskEncryptionConfiguration, CancellationToken)

Windows 仮想マシン ディスクの暗号化を有効にします。

EnableAsync(String, CancellationToken)

仮想マシン ディスクの暗号化を有効にします。

EnableAsync(String, String, String, CancellationToken)

仮想マシン ディスクの暗号化を有効にします。

EnableAsync(LinuxVMDiskEncryptionConfiguration, CancellationToken)

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)

パラメーター

encryptionSettings
LinuxVMDiskEncryptionConfiguration

Windows 仮想マシンの暗号化設定。

cancellationToken
CancellationToken

戻り値

適用対象

EnableAsync(WindowsVMDiskEncryptionConfiguration, CancellationToken)

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)

パラメーター

encryptionSettings
WindowsVMDiskEncryptionConfiguration

Windows 仮想マシンの暗号化設定。

cancellationToken
CancellationToken

戻り値

適用対象

EnableAsync(String, CancellationToken)

仮想マシン ディスクの暗号化を有効にします。

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)

パラメーター

keyVaultId
String

ディスク暗号化キーを格納するキー コンテナーのリソース ID。

cancellationToken
CancellationToken

戻り値

適用対象

EnableAsync(String, String, String, CancellationToken)

仮想マシン ディスクの暗号化を有効にします。

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)

パラメーター

keyVaultId
String

ディスク暗号化キーを格納するキー コンテナーのリソース ID。

aadClientId
String

キー コンテナーへのアクセス許可を持つ AAD アプリケーションのクライアント ID。

aadSecret
String

aadClientId に対応するクライアント シークレット。

cancellationToken
CancellationToken

戻り値

適用対象