v8

latestSwagger 2.0raw.githubusercontent.com2023-06-05132207357.5 KB
Labs

Import a virtual machine into a different lab. This operation can take a while to complete.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/importVirtualMachine

Path parameters

subscriptionIdstring required

The subscription ID.

resourceGroupNamestring required

The name of the resource group.

namestring required

The name of the lab.

Query parameters

api-versionstring required

Client API version.

Request body

sourceVirtualMachineResourceIdstring

The full resource ID of the virtual machine to be imported.

destinationVirtualMachineNamestring

The name of the virtual machine in the destination lab

Response

OK