Share via


MoveCollectionsOperationsExtensions.InitiateMove Method

Definition

Moves the set of resources included in the request body. The move operation is triggered after the moveResources are in the moveState 'MovePending' or 'MoveFailed', on a successful completion the moveResource moveState do a transition to CommitPending. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true.

public static Microsoft.Azure.Management.Migrate.ResourceMover.Models.OperationStatus InitiateMove (this Microsoft.Azure.Management.Migrate.ResourceMover.IMoveCollectionsOperations operations, string resourceGroupName, string moveCollectionName, Microsoft.Azure.Management.Migrate.ResourceMover.Models.ResourceMoveRequest body = default);
static member InitiateMove : Microsoft.Azure.Management.Migrate.ResourceMover.IMoveCollectionsOperations * string * string * Microsoft.Azure.Management.Migrate.ResourceMover.Models.ResourceMoveRequest -> Microsoft.Azure.Management.Migrate.ResourceMover.Models.OperationStatus
<Extension()>
Public Function InitiateMove (operations As IMoveCollectionsOperations, resourceGroupName As String, moveCollectionName As String, Optional body As ResourceMoveRequest = Nothing) As OperationStatus

Parameters

operations
IMoveCollectionsOperations

The operations group for this extension method.

resourceGroupName
String

The Resource Group Name.

moveCollectionName
String

The Move Collection Name.

Returns

Applies to