naftiko: 1.0.0-alpha2 info: label: Microsoft Azure DevTestLabsClient — Disks description: 'Microsoft Azure DevTestLabsClient — Disks. 7 operations. Lead operation: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - Disks 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-disks baseUri: https://management.azure.com description: Microsoft Azure DevTestLabsClient — Disks 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}/users/{userName}/disks operations: - name: microsoftazurediskslist method: GET description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: labName in: path type: string description: The name of the lab. required: true - name: userName in: path type: string description: The name of the user profile. required: true - name: $expand in: query type: string description: 'Specify the $expand query. Example: ''properties($select=diskType)''' - 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}/users/{userName}/disks/{name} operations: - name: microsoftazuredisksget method: GET description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks 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: userName in: path type: string description: The name of the user profile. required: true - name: name in: path type: string description: The name of the disk. required: true - name: $expand in: query type: string description: 'Specify the $expand query. Example: ''properties($select=diskType)''' - name: microsoftazurediskscreateorupdate method: PUT description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks 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: userName in: path type: string description: The name of the user profile. required: true - name: name in: path type: string description: The name of the disk. required: true - name: disk in: body type: string description: A Disk. required: true - name: microsoftazuredisksdelete method: DELETE description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks 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: userName in: path type: string description: The name of the user profile. required: true - name: name in: path type: string description: The name of the disk. required: true - name: microsoftazuredisksupdate method: PATCH description: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks 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: userName in: path type: string description: The name of the user profile. required: true - name: name in: path type: string description: The name of the disk. required: true - name: disk in: body type: string description: A Disk. required: true - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}/attach operations: - name: microsoftazuredisksattach method: POST description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks Name Attach outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: labName in: path type: string description: The name of the lab. required: true - name: userName in: path type: string description: The name of the user profile. required: true - name: name in: path type: string description: The name of the disk. required: true - name: attachDiskProperties in: body type: string description: Properties of the disk to attach. required: true - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}/detach operations: - name: microsoftazuredisksdetach method: POST description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks Name Detach outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: labName in: path type: string description: The name of the lab. required: true - name: userName in: path type: string description: The name of the user profile. required: true - name: name in: path type: string description: The name of the disk. required: true - name: detachDiskProperties in: body type: string description: Properties of the disk to detach. required: true exposes: - type: rest namespace: devtestlabsclient-disks-rest port: 8080 description: REST adapter for Microsoft Azure DevTestLabsClient — Disks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/users/{username}/disks name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: microsoftazurediskslist description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks call: devtestlabsclient-disks.microsoftazurediskslist with: labName: rest.labName userName: rest.userName $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}/users/{username}/disks/{name} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: microsoftazuredisksget description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks Name call: devtestlabsclient-disks.microsoftazuredisksget with: labName: rest.labName userName: rest.userName name: rest.name $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PUT name: microsoftazurediskscreateorupdate description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks Name call: devtestlabsclient-disks.microsoftazurediskscreateorupdate with: labName: rest.labName userName: rest.userName name: rest.name disk: rest.disk outputParameters: - type: object mapping: $. - method: DELETE name: microsoftazuredisksdelete description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks Name call: devtestlabsclient-disks.microsoftazuredisksdelete with: labName: rest.labName userName: rest.userName name: rest.name outputParameters: - type: object mapping: $. - method: PATCH name: microsoftazuredisksupdate description: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks Name call: devtestlabsclient-disks.microsoftazuredisksupdate with: labName: rest.labName userName: rest.userName name: rest.name disk: rest.disk outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/users/{username}/disks/{name}/attach name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: POST name: microsoftazuredisksattach description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks Name Attach call: devtestlabsclient-disks.microsoftazuredisksattach with: labName: rest.labName userName: rest.userName name: rest.name attachDiskProperties: rest.attachDiskProperties outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/users/{username}/disks/{name}/detach name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: POST name: microsoftazuredisksdetach description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks Name Detach call: devtestlabsclient-disks.microsoftazuredisksdetach with: labName: rest.labName userName: rest.userName name: rest.name detachDiskProperties: rest.detachDiskProperties outputParameters: - type: object mapping: $. - type: mcp namespace: devtestlabsclient-disks-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure DevTestLabsClient — Disks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-get-subscriptions-subscriptionid description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks hints: readOnly: true destructive: false idempotent: true call: devtestlabsclient-disks.microsoftazurediskslist with: labName: tools.labName userName: tools.userName $expand: tools.$expand $filter: tools.$filter $top: tools.$top $orderby: tools.$orderby outputParameters: - type: object mapping: $. - name: microsoft-azure-get-subscriptions-subscriptionid-2 description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks Name hints: readOnly: true destructive: false idempotent: true call: devtestlabsclient-disks.microsoftazuredisksget with: labName: tools.labName userName: tools.userName name: tools.name $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-azure-put-subscriptions-subscriptionid description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks Name hints: readOnly: false destructive: false idempotent: true call: devtestlabsclient-disks.microsoftazurediskscreateorupdate with: labName: tools.labName userName: tools.userName name: tools.name disk: tools.disk outputParameters: - type: object mapping: $. - name: microsoft-azure-delete-subscriptions-subscriptionid description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks Name hints: readOnly: false destructive: true idempotent: true call: devtestlabsclient-disks.microsoftazuredisksdelete with: labName: tools.labName userName: tools.userName name: tools.name outputParameters: - type: object mapping: $. - name: microsoft-azure-patch-subscriptions-subscriptionid description: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks Name hints: readOnly: false destructive: false idempotent: true call: devtestlabsclient-disks.microsoftazuredisksupdate with: labName: tools.labName userName: tools.userName name: tools.name disk: tools.disk outputParameters: - type: object mapping: $. - name: microsoft-azure-post-subscriptions-subscriptionid description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks Name Attach hints: readOnly: false destructive: false idempotent: false call: devtestlabsclient-disks.microsoftazuredisksattach with: labName: tools.labName userName: tools.userName name: tools.name attachDiskProperties: tools.attachDiskProperties outputParameters: - type: object mapping: $. - name: microsoft-azure-post-subscriptions-subscriptionid-2 description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Users Username Disks Name Detach hints: readOnly: false destructive: false idempotent: false call: devtestlabsclient-disks.microsoftazuredisksdetach with: labName: tools.labName userName: tools.userName name: tools.name detachDiskProperties: tools.detachDiskProperties outputParameters: - type: object mapping: $.