VirtualMachines

List virtual machines in a given lab.

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

Path parameters

labNamestring required

The name of the lab.

Query parameters

$expandstring

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

$filterstring

The filter to apply to the operation. Example: '$filter=contains(name,'myName')

$topinteger

The maximum number of resources to return from the operation. Example: '$top=10'

$orderbystring

The ordering expression for the results, using OData notation. Example: '$orderby=name desc'

Parameters

../../../../../../common-types/resource-management/v3/types.json#/components/parameters/ApiVersionParameter — unresolved $ref
../../../../../../common-types/resource-management/v3/types.json#/components/parameters/SubscriptionIdParameter — unresolved $ref
../../../../../../common-types/resource-management/v3/types.json#/components/parameters/ResourceGroupNameParameter — unresolved $ref

Response

Azure operation completed successfully.

valueLabVirtualMachine[] required— unresolved $ref

The LabVirtualMachine items on this page

nextLinkstring uri

The link to the next page of items

Changes

Changed in 2 of the 3 revisions of this API.48

  • 2015-05-21-previewa25ee04d439631See the full diff
    • deleted the path request parameter resourceGroupName

      request-parameter-removed

    • deleted the path request parameter subscriptionId

      request-parameter-removed

    • deleted the query request parameter api-version

      request-parameter-removed

    • the endpoint scheme security azure_auth was removed from the API

      api-security-removed

  • 2015-05-21-preview228c0007a01817See the full diff
    • deleted the query request parameter $orderBy

      request-parameter-removed

    • api operation id VirtualMachine_List removed and replaced with VirtualMachines_List

      api-operation-id-removed

    • the endpoint scheme security azure_auth was added to the API

      api-security-added

    • the endpoint scheme security oauth2 was removed from the API

      api-security-removed

    • api tag VirtualMachines added

      api-tag-added

    • api tag VirtualMachine removed

      api-tag-removed

    • added the new optional query request parameter $expand

      new-optional-request-parameter

    • added the new optional query request parameter $orderby

      new-optional-request-parameter

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog