{"files":{"SKILL.md":"---\nname: visual-studio-resource-provider-client\ndescription: \"Visual Studio Resource Provider Client API skill. Use when working with Visual Studio Resource Provider Client for providers, subscriptions. Covers 15 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Visual Studio Resource Provider Client\nAPI version: 2017-11-01-preview\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /providers/microsoft.visualstudio/operations -- operations_list\n3. POST /subscriptions/{subscriptionId}/providers/microsoft.visualstudio/checkNameAvailability -- create first checkNameAvailability\n\n## Endpoints\n15 endpoints across 2 groups. See references/api-spec.lap for full details.\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /providers/microsoft.visualstudio/operations | Operations_List |\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /subscriptions/{subscriptionId}/providers/microsoft.visualstudio/checkNameAvailability | Accounts_CheckNameAvailability |\n| GET | /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account | Accounts_ListByResourceGroup |\n| GET | /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension | Extensions_ListByAccount |\n| PUT | /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName} | Extensions_Create |\n| DELETE | /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName} | Extensions_Delete |\n| GET | /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName} | Extensions_Get |\n| PATCH | /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName} | Extensions_Update |\n| PUT | /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName} | Accounts_CreateOrUpdate |\n| DELETE | /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName} | Accounts_Delete |\n| GET | /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName} | Accounts_Get |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project | Projects_ListByAccountResource |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project/{resourceName} | Projects_Create |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project/{resourceName} | Projects_Get |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project/{resourceName} | Projects_Update |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all operations?\" -> GET /providers/microsoft.visualstudio/operations\n- \"Create a checkNameAvailability?\" -> POST /subscriptions/{subscriptionId}/providers/microsoft.visualstudio/checkNameAvailability\n- \"List all account?\" -> GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account\n- \"List all extension?\" -> GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension\n- \"Update a extension?\" -> PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}\n- \"Delete a extension?\" -> DELETE /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}\n- \"Get extension details?\" -> GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}\n- \"Partially update a extension?\" -> PATCH /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}\n- \"Update a account?\" -> PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}\n- \"Delete a account?\" -> DELETE /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}\n- \"Get account details?\" -> GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}\n- \"List all project?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project\n- \"Update a project?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project/{resourceName}\n- \"Get project details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project/{resourceName}\n- \"Partially update a project?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project/{resourceName}\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n- Error responses include status codes and descriptions in the spec\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Visual Studio Resource Provider Client\n@base https://management.azure.com\n@version 2017-11-01-preview\n@auth OAuth2\n@endpoints 15\n@toc providers(1), subscriptions(14)\n\n@group providers\n@endpoint GET /providers/microsoft.visualstudio/operations\n@desc Operations_List\n@returns(200) The operation succeeded. The response contains the possible operations on the Microsoft.VisualStudio resource provider.\n\n@endgroup\n\n@group subscriptions\n@endpoint POST /subscriptions/{subscriptionId}/providers/microsoft.visualstudio/checkNameAvailability\n@desc Accounts_CheckNameAvailability\n@required {subscriptionId: any # The Azure subscription identifier., api-version: any # API Version, body: map # Parameters describing the name to check availability for.}\n@returns(200) The operation succeeded. The response contains the result of the name availability check.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account\n@desc Accounts_ListByResourceGroup\n@required {resourceGroupName: any # Name of the resource group within the Azure subscription., subscriptionId: any # The Azure subscription identifier., api-version: any # API Version}\n@returns(200) The operation succeeded. The response contains the details of the Visual Studio Team Services account resources linked to the Azure subscription.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension\n@desc Extensions_ListByAccount\n@required {resourceGroupName: any # Name of the resource group within the Azure subscription., subscriptionId: any # The Azure subscription identifier., api-version: any # API Version, accountResourceName: any # The name of the Visual Studio Team Services account resource.}\n@returns(200) The operation succeeded. The response contains all extension resource details for the specified account.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}\n@desc Extensions_Create\n@required {resourceGroupName: any # Name of the resource group within the Azure subscription., subscriptionId: any # The Azure subscription identifier., api-version: any # API Version, body: map # An object containing additional information related to the extension request., accountResourceName: any # The name of the Visual Studio Team Services account resource., extensionResourceName: any # The name of the extension.}\n@returns(200) The operation succeeded. The extension resource was created for the specified account.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}\n@desc Extensions_Delete\n@required {resourceGroupName: any # Name of the resource group within the Azure subscription., subscriptionId: any # The Azure subscription identifier., api-version: any # API Version, accountResourceName: any # The name of the Visual Studio Team Services account resource., extensionResourceName: any # The name of the extension.}\n@returns(200) The operation succeeded. The extension resource has been deleted for the specified account.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}\n@desc Extensions_Get\n@required {resourceGroupName: any # Name of the resource group within the Azure subscription., subscriptionId: any # The Azure subscription identifier., api-version: any # API Version, accountResourceName: any # The name of the Visual Studio Team Services account resource., extensionResourceName: any # The name of the extension.}\n@returns(200) The operation succeeded. The response contains the extension resource details for the specified account.\n@errors {404: The specified extension has no plans defined.}\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}\n@desc Extensions_Update\n@required {resourceGroupName: any # Name of the resource group within the Azure subscription., subscriptionId: any # The Azure subscription identifier., api-version: any # API Version, body: map # An object containing additional information related to the extension request., accountResourceName: any # The name of the Visual Studio Team Services account resource., extensionResourceName: any # The name of the extension.}\n@returns(200) The operation succeeded. The extension resource was updated for the specified account.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}\n@desc Accounts_CreateOrUpdate\n@required {resourceGroupName: any # Name of the resource group within the Azure subscription., subscriptionId: any # The Azure subscription identifier., api-version: any # API Version, body: map # The request data., resourceName: any # Name of the resource.}\n@returns(200) The operation succeeded. The Visual Studio Team Services account resource was created or updated.\n@errors {404: The Visual Studio Team Services account does not exist.}\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}\n@desc Accounts_Delete\n@required {resourceGroupName: any # Name of the resource group within the Azure subscription., subscriptionId: any # The Azure subscription identifier., api-version: any # API Version, resourceName: any # Name of the resource.}\n@returns(200) The operation succeeded. The Visual Studio Team Services account resource was deleted.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}\n@desc Accounts_Get\n@required {resourceGroupName: any # Name of the resource group within the Azure subscription., subscriptionId: any # The Azure subscription identifier., api-version: any # API Version, resourceName: any # Name of the resource.}\n@returns(200) The operation succeeded. The response contains the details of the Visual Studio Team Services account resource.\n@errors {404: The Visual Studio Team Services account does not exist.}\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project\n@desc Projects_ListByAccountResource\n@required {resourceGroupName: any # Name of the resource group within the Azure subscription., subscriptionId: any # The Azure subscription identifier., api-version: any # API Version, rootResourceName: any # Name of the Team Services account.}\n@returns(200) The operation succeeded. The response contains the details of the Visual Studio Team Services project resources created in the specified Team Services account.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project/{resourceName}\n@desc Projects_Create\n@required {body: map # The request data., resourceGroupName: any # Name of the resource group within the Azure subscription., subscriptionId: any # The Azure subscription identifier., api-version: any # API Version, rootResourceName: any # Name of the Team Services account., resourceName: any # Name of the Team Services project.}\n@optional {validating: any # This parameter is ignored and should be set to an empty string.}\n@returns(200) The operation succeeded. The response contains the details of the created or updated team project resource.\n@returns(202) The operation succeeded. A job to create the team project resource has been queued. The URI to monitor the status of the job is provided in the 'location' header.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project/{resourceName}\n@desc Projects_Get\n@required {resourceGroupName: any # Name of the resource group within the Azure subscription., subscriptionId: any # The Azure subscription identifier., api-version: any # API Version, rootResourceName: any # Name of the Team Services account., resourceName: any # Name of the Team Services project.}\n@returns(200) The operation succeeded. The response contains the details of the updated team project resource.\n@errors {404: The project or Azure subscription was not found.}\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project/{resourceName}\n@desc Projects_Update\n@required {resourceGroupName: any # Name of the resource group within the Azure subscription., subscriptionId: any # The Azure subscription identifier., api-version: any # API Version, body: map # The request data., rootResourceName: any # Name of the Team Services account., resourceName: any # Name of the Team Services project.}\n@returns(200) The operation succeeded. The response contains the details of the updated team project resource.\n\n@endgroup\n\n@end\n"}}