v14

latestSwagger 2.0raw.githubusercontent.com2022-04-018660175.5 KB
Resources

Moves resources from one resource group to another resource group.

The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes.

post/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/moveResources

Path parameters

sourceResourceGroupNamestring required

The name of the resource group containing the resources to move.

subscriptionIdstring required

The ID of the target subscription.

Query parameters

api-versionstring required

The API version to use for this operation.

Request body

resourcesstring[]

The IDs of the resources.

targetResourceGroupstring

The target resource group.

Response

Accepted