v8

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

Get virtual machine.

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

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

$expandstring

Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'

api-versionstring required

Client API version.

Response

OK

idstring

The identifier of the resource.

namestring

The name of the resource.

typestring

The type of the resource.

locationstring

The location of the resource.

tagsobject

The tags of the resource.