次の方法で共有


IValidateOperationOperations.TriggerWithHttpMessagesAsync メソッド

定義

非同期操作の形式で、指定したバックアップ項目の操作を検証します。 GetValidateOperationResult API を使用して追跡できる追跡ヘッダーを返します。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> TriggerWithHttpMessagesAsync (string vaultName, string resourceGroupName, Microsoft.Azure.Management.RecoveryServices.Backup.Models.ValidateOperationRequest parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member TriggerWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.ValidateOperationRequest * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function TriggerWithHttpMessagesAsync (vaultName As String, resourceGroupName As String, parameters As ValidateOperationRequest, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

パラメーター

vaultName
String

Recovery Services コンテナーの名前。

resourceGroupName
String

Recovery Services コンテナーが存在するリソース グループの名前。

parameters
ValidateOperationRequest

リソース検証操作要求

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

操作が無効な状態コードを返したときにスローされます

必須パラメーターが null の場合にスローされます

適用対象