次の方法で共有


ProtectionIntentOperationsExtensions.ValidateAsync メソッド

定義

次の検証が行われます

  1. コンテナーの容量
  2. VM は既に保護されています
  3. プロパティで渡される VM 関連の構成。
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.PreValidateEnableBackupResponse> ValidateAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionIntentOperations operations, string azureRegion, Microsoft.Azure.Management.RecoveryServices.Backup.Models.PreValidateEnableBackupRequest parameters, System.Threading.CancellationToken cancellationToken = default);
static member ValidateAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionIntentOperations * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.PreValidateEnableBackupRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.PreValidateEnableBackupResponse>
<Extension()>
Public Function ValidateAsync (operations As IProtectionIntentOperations, azureRegion As String, parameters As PreValidateEnableBackupRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PreValidateEnableBackupResponse)

パラメーター

operations
IProtectionIntentOperations

この拡張メソッドの操作グループ。

azureRegion
String

Api にヒットする Azure リージョン

parameters
PreValidateEnableBackupRequest

仮想マシンでバックアップ検証要求を有効にする

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象