Microsoft Azure · Capability

Microsoft Azure DevTestLabsClient — VirtualMachines

Microsoft Azure DevTestLabsClient — VirtualMachines. 18 operations. Lead operation: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureVirtualMachines

What You Can Do

GET
Microsoftazurevirtualmachineslist — Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines
GET
Microsoftazurevirtualmachinesget — Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}
PUT
Microsoftazurevirtualmachinescreateorupdate — Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}
DELETE
Microsoftazurevirtualmachinesdelete — Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}
PATCH
Microsoftazurevirtualmachinesupdate — Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}
POST
Microsoftazurevirtualmachinesadddatadisk — Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Adddatadisk
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/adddatadisk
POST
Microsoftazurevirtualmachinesapplyartifacts — Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Applyartifacts
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/applyartifacts
POST
Microsoftazurevirtualmachinesclaim — Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Claim
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/claim
POST
Microsoftazurevirtualmachinesdetachdatadisk — Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Detachdatadisk
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/detachdatadisk
POST
Microsoftazurevirtualmachinesgetrdpfilecontents — Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Getrdpfilecontents
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/getrdpfilecontents
POST
Microsoftazurevirtualmachineslistapplicableschedules — Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Listapplicableschedules
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/listapplicableschedules
POST
Microsoftazurevirtualmachinesredeploy — Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Redeploy
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/redeploy
POST
Microsoftazurevirtualmachinesresize — Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Resize
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/resize
POST
Microsoftazurevirtualmachinesrestart — Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Restart
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/restart
POST
Microsoftazurevirtualmachinesstart — Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Start
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/start
POST
Microsoftazurevirtualmachinesstop — Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Stop
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/stop
POST
Microsoftazurevirtualmachinestransferdisks — Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Transferdisks
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/transferdisks
POST
Microsoftazurevirtualmachinesunclaim — Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Unclaim
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/unclaim

MCP Tools

microsoft-azure-get-subscriptions-subscriptionid

Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines

read-only idempotent
microsoft-azure-get-subscriptions-subscriptionid-2

Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name

read-only idempotent
microsoft-azure-put-subscriptions-subscriptionid

Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name

idempotent
microsoft-azure-delete-subscriptions-subscriptionid

Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name

idempotent
microsoft-azure-patch-subscriptions-subscriptionid

Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name

idempotent
microsoft-azure-post-subscriptions-subscriptionid

Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Adddatadisk

microsoft-azure-post-subscriptions-subscriptionid-2

Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Applyartifacts

microsoft-azure-post-subscriptions-subscriptionid-3

Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Claim

microsoft-azure-post-subscriptions-subscriptionid-4

Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Detachdatadisk

microsoft-azure-post-subscriptions-subscriptionid-5

Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Getrdpfilecontents

microsoft-azure-post-subscriptions-subscriptionid-6

Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Listapplicableschedules

microsoft-azure-post-subscriptions-subscriptionid-7

Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Redeploy

microsoft-azure-post-subscriptions-subscriptionid-8

Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Resize

microsoft-azure-post-subscriptions-subscriptionid-9

Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Restart

microsoft-azure-post-subscriptions-subscriptionid-10

Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Start

microsoft-azure-post-subscriptions-subscriptionid-11

Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Stop

microsoft-azure-post-subscriptions-subscriptionid-12

Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Transferdisks

microsoft-azure-post-subscriptions-subscriptionid-13

Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines Name Unclaim

Capability Spec

devtestlabsclient-virtualmachines.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure DevTestLabsClient — VirtualMachines
  description: 'Microsoft Azure DevTestLabsClient — VirtualMachines. 18 operations. Lead operation: Microsoft Azure Get Subscriptions
    Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Virtualmachines. Self-contained
    Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - VirtualMachines
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: devtestlabsclient-virtualmachines
    baseUri: https://management.azure.com
    description: Microsoft Azure DevTestLabsClient — VirtualMachines business capability. Self-contained, no shared references.
    resources:
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines
      operations:
      - name: microsoftazurevirtualmachineslist
        method: GET
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labName
          in: path
          type: string
          description: The name of the lab.
          required: true
        - name: $expand
          in: query
          type: string
          description: 'Specify the $expand query. Example: ''properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'''
        - name: $filter
          in: query
          type: string
          description: 'The filter to apply to the operation. Example: ''$filter=contains(name,''myName'')'
        - name: $top
          in: query
          type: integer
          description: 'The maximum number of resources to return from the operation. Example: ''$top=10'''
        - name: $orderby
          in: query
          type: string
          description: 'The ordering expression for the results, using OData notation. Example: ''$orderby=name desc'''
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}
      operations:
      - name: microsoftazurevirtualmachinesget
        method: GET
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labName
          in: path
          type: string
          description: The name of the lab.
          required: true
        - name: name
          in: path
          type: string
          description: The name of the virtual machine.
          required: true
        - name: $expand
          in: query
          type: string
          description: 'Specify the $expand query. Example: ''properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'''
      - name: microsoftazurevirtualmachinescreateorupdate
        method: PUT
        description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labName
          in: path
          type: string
          description: The name of the lab.
          required: true
        - name: name
          in: path
          type: string
          description: The name of the virtual machine.
          required: true
        - name: labVirtualMachine
          in: body
          type: string
          description: A virtual machine.
          required: true
      - name: microsoftazurevirtualmachinesdelete
        method: DELETE
        description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labName
          in: path
          type: string
          description: The name of the lab.
          required: true
        - name: name
          in: path
          type: string
          description: The name of the virtual machine.
          required: true
      - name: microsoftazurevirtualmachinesupdate
        method: PATCH
        description: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labName
          in: path
          type: string
          description: The name of the lab.
          required: true
        - name: name
          in: path
          type: string
          description: The name of the virtual machine.
          required: true
        - name: labVirtualMachine
          in: body
          type: string
          description: A virtual machine.
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/addDataDisk
      operations:
      - name: microsoftazurevirtualmachinesadddatadisk
        method: POST
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Adddatadisk
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labName
          in: path
          type: string
          description: The name of the lab.
          required: true
        - name: name
          in: path
          type: string
          description: The name of the virtual machine.
          required: true
        - name: dataDiskProperties
          in: body
          type: string
          description: Request body for adding a new or existing data disk to a virtual machine.
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/applyArtifacts
      operations:
      - name: microsoftazurevirtualmachinesapplyartifacts
        method: POST
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Applyartifacts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labName
          in: path
          type: string
          description: The name of the lab.
          required: true
        - name: name
          in: path
          type: string
          description: The name of the virtual machine.
          required: true
        - name: applyArtifactsRequest
          in: body
          type: string
          description: Request body for applying artifacts to a virtual machine.
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/claim
      operations:
      - name: microsoftazurevirtualmachinesclaim
        method: POST
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Claim
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labName
          in: path
          type: string
          description: The name of the lab.
          required: true
        - name: name
          in: path
          type: string
          description: The name of the virtual machine.
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/detachDataDisk
      operations:
      - name: microsoftazurevirtualmachinesdetachdatadisk
        method: POST
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Detachdatadisk
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labName
          in: path
          type: string
          description: The name of the lab.
          required: true
        - name: name
          in: path
          type: string
          description: The name of the virtual machine.
          required: true
        - name: detachDataDiskProperties
          in: body
          type: string
          description: Request body for detaching data disk from a virtual machine.
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/getRdpFileContents
      operations:
      - name: microsoftazurevirtualmachinesgetrdpfilecontents
        method: POST
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Getrdpfilecontents
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labName
          in: path
          type: string
          description: The name of the lab.
          required: true
        - name: name
          in: path
          type: string
          description: The name of the virtual machine.
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/listApplicableSchedules
      operations:
      - name: microsoftazurevirtualmachineslistapplicableschedules
        method: POST
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Listapplicableschedules
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labName
          in: path
          type: string
          description: The name of the lab.
          required: true
        - name: name
          in: path
          type: string
          description: The name of the virtual machine.
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/redeploy
      operations:
      - name: microsoftazurevirtualmachinesredeploy
        method: POST
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Redeploy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labName
          in: path
          type: string
          description: The name of the lab.
          required: true
        - name: name
          in: path
          type: string
          description: The name of the virtual machine.
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/resize
      operations:
      - name: microsoftazurevirtualmachinesresize
        method: POST
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Resize
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labName
          in: path
          type: string
          description: The name of the lab.
          required: true
        - name: name
          in: path
          type: string
          description: The name of the virtual machine.
          required: true
        - name: resizeLabVirtualMachineProperties
          in: body
          type: string
          description: Request body for resizing a virtual machine.
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/restart
      operations:
      - name: microsoftazurevirtualmachinesrestart
        method: POST
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Restart
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labName
          in: path
          type: string
          description: The name of the lab.
          required: true
        - name: name
          in: path
          type: string
          description: The name of the virtual machine.
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/start
      operations:
      - name: microsoftazurevirtualmachinesstart
        method: POST
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Start
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labName
          in: path
          type: string
          description: The name of the lab.
          required: true
        - name: name
          in: path
          type: string
          description: The name of the virtual machine.
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/stop
      operations:
      - name: microsoftazurevirtualmachinesstop
        method: POST
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Stop
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labName
          in: path
          type: string
          description: The name of the lab.
          required: true
        - name: name
          in: path
          type: string
          description: The name of the virtual machine.
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/transferDisks
      operations:
      - name: microsoftazurevirtualmachinestransferdisks
        method: POST
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Transferdisks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labName
          in: path
          type: string
          description: The name of the lab.
          required: true
        - name: name
          in: path
          type: string
          description: The name of the virtual machine.
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/unClaim
      operations:
      - name: microsoftazurevirtualmachinesunclaim
        method: POST
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Unclaim
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labName
          in: path
          type: string
          description: The name of the lab.
          required: true
        - name: name
          in: path
          type: string
          description: The name of the virtual machine.
          required: true
  exposes:
  - type: rest
    namespace: devtestlabsclient-virtualmachines-rest
    port: 8080
    description: REST adapter for Microsoft Azure DevTestLabsClient — VirtualMachines. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazurevirtualmachineslist
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines
        call: devtestlabsclient-virtualmachines.microsoftazurevirtualmachineslist
        with:
          labName: rest.labName
          $expand: rest.$expand
          $filter: rest.$filter
          $top: rest.$top
          $orderby: rest.$orderby
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazurevirtualmachinesget
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name
        call: devtestlabsclient-virtualmachines.microsoftazurevirtualmachinesget
        with:
          labName: rest.labName
          name: rest.name
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: microsoftazurevirtualmachinescreateorupdate
        description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name
        call: devtestlabsclient-virtualmachines.microsoftazurevirtualmachinescreateorupdate
        with:
          labName: rest.labName
          name: rest.name
          labVirtualMachine: rest.labVirtualMachine
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: microsoftazurevirtualmachinesdelete
        description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name
        call: devtestlabsclient-virtualmachines.microsoftazurevirtualmachinesdelete
        with:
          labName: rest.labName
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: microsoftazurevirtualmachinesupdate
        description: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name
        call: devtestlabsclient-virtualmachines.microsoftazurevirtualmachinesupdate
        with:
          labName: rest.labName
          name: rest.name
          labVirtualMachine: rest.labVirtualMachine
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/adddatadisk
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: POST
        name: microsoftazurevirtualmachinesadddatadisk
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Adddatadisk
        call: devtestlabsclient-virtualmachines.microsoftazurevirtualmachinesadddatadisk
        with:
          labName: rest.labName
          name: rest.name
          dataDiskProperties: rest.dataDiskProperties
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/applyartifacts
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: POST
        name: microsoftazurevirtualmachinesapplyartifacts
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Applyartifacts
        call: devtestlabsclient-virtualmachines.microsoftazurevirtualmachinesapplyartifacts
        with:
          labName: rest.labName
          name: rest.name
          applyArtifactsRequest: rest.applyArtifactsRequest
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/claim
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: POST
        name: microsoftazurevirtualmachinesclaim
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Claim
        call: devtestlabsclient-virtualmachines.microsoftazurevirtualmachinesclaim
        with:
          labName: rest.labName
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/detachdatadisk
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: POST
        name: microsoftazurevirtualmachinesdetachdatadisk
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Detachdatadisk
        call: devtestlabsclient-virtualmachines.microsoftazurevirtualmachinesdetachdatadisk
        with:
          labName: rest.labName
          name: rest.name
          detachDataDiskProperties: rest.detachDataDiskProperties
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/getrdpfilecontents
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: POST
        name: microsoftazurevirtualmachinesgetrdpfilecontents
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Getrdpfilecontents
        call: devtestlabsclient-virtualmachines.microsoftazurevirtualmachinesgetrdpfilecontents
        with:
          labName: rest.labName
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/listapplicableschedules
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: POST
        name: microsoftazurevirtualmachineslistapplicableschedules
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Listapplicableschedules
        call: devtestlabsclient-virtualmachines.microsoftazurevirtualmachineslistapplicableschedules
        with:
          labName: rest.labName
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/redeploy
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: POST
        name: microsoftazurevirtualmachinesredeploy
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Redeploy
        call: devtestlabsclient-virtualmachines.microsoftazurevirtualmachinesredeploy
        with:
          labName: rest.labName
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/resize
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: POST
        name: microsoftazurevirtualmachinesresize
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Resize
        call: devtestlabsclient-virtualmachines.microsoftazurevirtualmachinesresize
        with:
          labName: rest.labName
          name: rest.name
          resizeLabVirtualMachineProperties: rest.resizeLabVirtualMachineProperties
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/restart
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: POST
        name: microsoftazurevirtualmachinesrestart
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Restart
        call: devtestlabsclient-virtualmachines.microsoftazurevirtualmachinesrestart
        with:
          labName: rest.labName
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/start
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: POST
        name: microsoftazurevirtualmachinesstart
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Start
        call: devtestlabsclient-virtualmachines.microsoftazurevirtualmachinesstart
        with:
          labName: rest.labName
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/virtualmachines/{name}/stop
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: POST
        name: microsoftazurevirtualmachinesstop
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Devtestlab Labs Labname Virtualmachines Name Stop
        call: devtestlabsclient-virtualmachines.microsoftazurevirtualmachinesstop
        with:
          labName: rest.labName
          name: rest.name
        o

# --- truncated at 32 KB (44 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-azure/refs/heads/main/capabilities/devtestlabsclient-virtualmachines.yaml