共用方式為


MoveCollectionsOperationsExtensions.BeginPrepareAsync Method

Definition

Initiates prepare for the set of resources included in the request body. The prepare operation is on the moveResources that are in the moveState 'PreparePending' or 'PrepareFailed', on a successful completion the moveResource moveState do a transition to MovePending. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Migrate.ResourceMover.Models.OperationStatus> BeginPrepareAsync (this Microsoft.Azure.Management.Migrate.ResourceMover.IMoveCollectionsOperations operations, string resourceGroupName, string moveCollectionName, Microsoft.Azure.Management.Migrate.ResourceMover.Models.PrepareRequest body = default, System.Threading.CancellationToken cancellationToken = default);
static member BeginPrepareAsync : Microsoft.Azure.Management.Migrate.ResourceMover.IMoveCollectionsOperations * string * string * Microsoft.Azure.Management.Migrate.ResourceMover.Models.PrepareRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Migrate.ResourceMover.Models.OperationStatus>
<Extension()>
Public Function BeginPrepareAsync (operations As IMoveCollectionsOperations, resourceGroupName As String, moveCollectionName As String, Optional body As PrepareRequest = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of OperationStatus)

Parameters

operations
IMoveCollectionsOperations

The operations group for this extension method.

resourceGroupName
String

The Resource Group Name.

moveCollectionName
String

The Move Collection Name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to