Udostępnij za pośrednictwem


RecoveryServicesBackupClient.BeginBMSPrepareDataMoveWithHttpMessagesAsync Method

Definition

Prepares source vault for Data Move operation

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

Parameters

vaultName
String

The name of the recovery services vault.

resourceGroupName
String

The name of the resource group where the recovery services vault is present.

parameters
PrepareDataMoveRequest

Prepare data move request

customHeaders
Dictionary<String,List<String>>

Headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Implements

Exceptions

Thrown when the operation returned an invalid status code

Thrown when a required parameter is null

Thrown when a required parameter is null

Applies to