v8

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

Detach the specified disk from the virtual machine. This operation can take a while to complete.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/detachDataDisk

Path parameters

subscriptionIdstring required

The subscription ID.

resourceGroupNamestring required

The name of the resource group.

labNamestring required

The name of the lab.

namestring required

The name of the virtual machine.

Query parameters

api-versionstring required

Client API version.

Request body

existingLabDiskIdstring

Specifies the disk resource ID to detach from virtual machine.

Response

OK