Disks
Attach and create the lease of the disk to the virtual machine. This operation can take a while to complete.
post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}/attach
Path parameters
subscriptionIdstring required
The subscription ID.
resourceGroupNamestring required
The name of the resource group.
labNamestring required
The name of the lab.
userNamestring required
The name of the user profile.
namestring required
The name of the disk.
Query parameters
api-versionstring required
Client API version.
Request body
Response
OK