v8

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

Updates a schedule's target resource Id. This operation can take a while to complete.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}/retarget

Path parameters

subscriptionIdstring required

The subscription ID.

resourceGroupNamestring required

The name of the resource group.

namestring required

The name of the schedule.

Query parameters

api-versionstring required

Client API version.

Request body

currentResourceIdstring

The resource Id of the virtual machine on which the schedule operates

targetResourceIdstring

The resource Id of the virtual machine that the schedule should be retargeted to

Response

OK