MoveCollections

Commits the set of resources included in the request body. The commit operation is triggered on the moveResources in the moveState 'CommitPending' or 'CommitFailed', on a successful completion the moveResource moveState do a transition to Committed. 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}/commit

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.

Changes

No recorded changes to this endpoint across all 5 revisions of this API.