v5

latestSwagger 2.02026-07-13197784.3 KB
MoveCollections

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.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/initiateMove

Path parameters

subscriptionIdstring required

The Subscription ID.

resourceGroupNamestring required

The Resource Group Name.

moveCollectionNamestring required

The Move Collection Name.

Query parameters

api-versionstring required

Client Api Version.

Request body

validateOnlyboolean

Gets or sets a value indicating whether the operation needs to only run pre-requisite.

moveResourcesstring[] required

Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property.

moveResourceInputType'MoveResourceId' | 'MoveResourceSourceId'

Defines the move resource input type.

Response

OK

idstring

Resource Id.

namestring

Operation name.

statusstring

Status of the operation. ARM expects the terminal status to be one of Succeeded/ Failed/ Canceled. All other values imply that the operation is still running.

startTimestring

Start time.

endTimestring

End time.

propertiesOperationStatusProperties

Class for operation result properties.