naftiko: 1.0.0-alpha2 info: label: Microsoft Azure ManagedLabsClient — LabAccounts description: 'Microsoft Azure ManagedLabsClient — LabAccounts. 8 operations. Lead operation: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Labservices Labaccounts. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - LabAccounts 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: managedlabsclient-labaccounts baseUri: https://management.azure.com description: Microsoft Azure ManagedLabsClient — LabAccounts business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-providers-Microsoft.LabServices-labaccounts path: /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/labaccounts operations: - name: microsoftazurelabaccountslistbysubscription method: GET description: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Labservices Labaccounts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $expand in: query type: string description: 'Specify the $expand query. Example: ''properties($expand=sizeConfiguration)''' - name: $filter in: query type: string description: The filter to apply to the operation. - name: $top in: query type: integer description: The maximum number of resources to return from the operation. - name: $orderby in: query type: string description: The ordering expression for the results, using OData notation. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts operations: - name: microsoftazurelabaccountslistbyresourcegroup method: GET description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $expand in: query type: string description: 'Specify the $expand query. Example: ''properties($expand=sizeConfiguration)''' - name: $filter in: query type: string description: The filter to apply to the operation. - name: $top in: query type: integer description: The maximum number of resources to return from the operation. - name: $orderby in: query type: string description: The ordering expression for the results, using OData notation. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName} operations: - name: microsoftazurelabaccountsget method: GET description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts Labaccountname outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: labAccountName in: path type: string description: The name of the lab Account. required: true - name: $expand in: query type: string description: 'Specify the $expand query. Example: ''properties($expand=sizeConfiguration)''' - name: microsoftazurelabaccountscreateorupdate method: PUT description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts Labaccountname outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: labAccountName in: path type: string description: The name of the lab Account. required: true - name: labAccount in: body type: string description: Represents a lab account. required: true - name: microsoftazurelabaccountsdelete method: DELETE description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts Labaccountname outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: labAccountName in: path type: string description: The name of the lab Account. required: true - name: microsoftazurelabaccountsupdate method: PATCH description: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts Labaccountname outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: labAccountName in: path type: string description: The name of the lab Account. required: true - name: labAccount in: body type: string description: Represents a lab account. required: true - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/createLab operations: - name: microsoftazurelabaccountscreatelab method: POST description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts Labaccountname Createlab outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: labAccountName in: path type: string description: The name of the lab Account. required: true - name: createLabProperties in: body type: string description: Properties for creating a managed lab and a default environment setting required: true - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/getRegionalAvailability operations: - name: microsoftazurelabaccountsgetregionalavailability method: POST description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts Labaccountname Getregionalavailability outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: labAccountName in: path type: string description: The name of the lab Account. required: true exposes: - type: rest namespace: managedlabsclient-labaccounts-rest port: 8080 description: REST adapter for Microsoft Azure ManagedLabsClient — LabAccounts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-labservices/labaccounts name: subscriptions-subscriptionid-providers-microsoft-labservices-labaccounts description: REST surface for subscriptions-subscriptionId-providers-Microsoft.LabServices-labaccounts. operations: - method: GET name: microsoftazurelabaccountslistbysubscription description: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Labservices Labaccounts call: managedlabsclient-labaccounts.microsoftazurelabaccountslistbysubscription with: $expand: rest.$expand $filter: rest.$filter $top: rest.$top $orderby: rest.$orderby outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-labservices/labaccounts name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: microsoftazurelabaccountslistbyresourcegroup description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts call: managedlabsclient-labaccounts.microsoftazurelabaccountslistbyresourcegroup with: $expand: rest.$expand $filter: rest.$filter $top: rest.$top $orderby: rest.$orderby outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-labservices/labaccounts/{labaccountname} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: microsoftazurelabaccountsget description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts Labaccountname call: managedlabsclient-labaccounts.microsoftazurelabaccountsget with: labAccountName: rest.labAccountName $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PUT name: microsoftazurelabaccountscreateorupdate description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts Labaccountname call: managedlabsclient-labaccounts.microsoftazurelabaccountscreateorupdate with: labAccountName: rest.labAccountName labAccount: rest.labAccount outputParameters: - type: object mapping: $. - method: DELETE name: microsoftazurelabaccountsdelete description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts Labaccountname call: managedlabsclient-labaccounts.microsoftazurelabaccountsdelete with: labAccountName: rest.labAccountName outputParameters: - type: object mapping: $. - method: PATCH name: microsoftazurelabaccountsupdate description: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts Labaccountname call: managedlabsclient-labaccounts.microsoftazurelabaccountsupdate with: labAccountName: rest.labAccountName labAccount: rest.labAccount outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-labservices/labaccounts/{labaccountname}/createlab name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: POST name: microsoftazurelabaccountscreatelab description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts Labaccountname Createlab call: managedlabsclient-labaccounts.microsoftazurelabaccountscreatelab with: labAccountName: rest.labAccountName createLabProperties: rest.createLabProperties outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-labservices/labaccounts/{labaccountname}/getregionalavailability name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: POST name: microsoftazurelabaccountsgetregionalavailability description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts Labaccountname Getregionalavailability call: managedlabsclient-labaccounts.microsoftazurelabaccountsgetregionalavailability with: labAccountName: rest.labAccountName outputParameters: - type: object mapping: $. - type: mcp namespace: managedlabsclient-labaccounts-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure ManagedLabsClient — LabAccounts. 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 Providers Microsoft Labservices Labaccounts hints: readOnly: true destructive: false idempotent: true call: managedlabsclient-labaccounts.microsoftazurelabaccountslistbysubscription with: $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 Labservices Labaccounts hints: readOnly: true destructive: false idempotent: true call: managedlabsclient-labaccounts.microsoftazurelabaccountslistbyresourcegroup with: $expand: tools.$expand $filter: tools.$filter $top: tools.$top $orderby: tools.$orderby outputParameters: - type: object mapping: $. - name: microsoft-azure-get-subscriptions-subscriptionid-3 description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts Labaccountname hints: readOnly: true destructive: false idempotent: true call: managedlabsclient-labaccounts.microsoftazurelabaccountsget with: labAccountName: tools.labAccountName $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-azure-put-subscriptions-subscriptionid description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts Labaccountname hints: readOnly: false destructive: false idempotent: true call: managedlabsclient-labaccounts.microsoftazurelabaccountscreateorupdate with: labAccountName: tools.labAccountName labAccount: tools.labAccount outputParameters: - type: object mapping: $. - name: microsoft-azure-delete-subscriptions-subscriptionid description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts Labaccountname hints: readOnly: false destructive: true idempotent: true call: managedlabsclient-labaccounts.microsoftazurelabaccountsdelete with: labAccountName: tools.labAccountName outputParameters: - type: object mapping: $. - name: microsoft-azure-patch-subscriptions-subscriptionid description: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts Labaccountname hints: readOnly: false destructive: false idempotent: true call: managedlabsclient-labaccounts.microsoftazurelabaccountsupdate with: labAccountName: tools.labAccountName labAccount: tools.labAccount outputParameters: - type: object mapping: $. - name: microsoft-azure-post-subscriptions-subscriptionid description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts Labaccountname Createlab hints: readOnly: false destructive: false idempotent: false call: managedlabsclient-labaccounts.microsoftazurelabaccountscreatelab with: labAccountName: tools.labAccountName createLabProperties: tools.createLabProperties outputParameters: - type: object mapping: $. - name: microsoft-azure-post-subscriptions-subscriptionid-2 description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Labservices Labaccounts Labaccountname Getregionalavailability hints: readOnly: false destructive: false idempotent: false call: managedlabsclient-labaccounts.microsoftazurelabaccountsgetregionalavailability with: labAccountName: tools.labAccountName outputParameters: - type: object mapping: $.