{"files":{"SKILL.md":"---\nname: azure-maps-resource-provider\ndescription: \"Azure Maps Resource Provider API skill. Use when working with Azure Maps Resource Provider for subscriptions, providers. Covers 10 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Azure Maps Resource Provider\nAPI version: 2018-05-01\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /providers/Microsoft.Maps/operations -- list operations available for the maps resource provider\n3. POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources -- create first moveResource\n\n## Endpoints\n10 endpoints across 2 groups. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName} | Create or update a Maps Account. A Maps Account holds the keys which allow access to the Maps REST APIs. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName} | Updates a Maps Account. Only a subset of the parameters may be updated after creation, such as Sku and Tags. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName} | Delete a Maps Account. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName} | Get a Maps Account. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts | Get all Maps Accounts in a Resource Group |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Maps/accounts | Get all Maps Accounts in a Subscription |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources | Moves Maps Accounts from one ResourceGroup (or Subscription) to another |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/listKeys | Get the keys to use with the Maps APIs. A key is used to authenticate and authorize access to the Maps REST APIs. Only one key is needed at a time; two are given to provide seamless key regeneration. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/regenerateKey | Regenerate either the primary or secondary key for use with the Maps APIs. The old key will stop working immediately. |\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /providers/Microsoft.Maps/operations | List operations available for the Maps Resource Provider |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Update a account?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}\n- \"Partially update a account?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}\n- \"Delete a account?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}\n- \"Get account details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}\n- \"List all accounts?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts\n- \"Create a moveResource?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources\n- \"Create a listKey?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/listKeys\n- \"Create a regenerateKey?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/regenerateKey\n- \"List all operations?\" -> GET /providers/Microsoft.Maps/operations\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 Azure Maps Resource Provider\n@base https://management.azure.com\n@version 2018-05-01\n@auth OAuth2\n@common_fields {api-version: any # Client Api Version.}\n@endpoints 10\n@toc subscriptions(9), providers(1)\n\n@group subscriptions\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}\n@desc Create or update a Maps Account. A Maps Account holds the keys which allow access to the Maps REST APIs.\n@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the Azure Resource Group., accountName: any # The name of the Maps Account., MapsAccountCreateParameters: map # The new or updated parameters for the Maps Account.}\n@returns(200) The Account was successfully updated.\n@returns(201) The Account was successfully created.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}\n@desc Updates a Maps Account. Only a subset of the parameters may be updated after creation, such as Sku and Tags.\n@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the Azure Resource Group., accountName: any # The name of the Maps Account., MapsAccountUpdateParameters: map # The updated parameters for the Maps Account.}\n@returns(200) The Account was successfully updated.\n@errors {404: The specified Account was not found. Nothing was updated.}\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}\n@desc Delete a Maps Account.\n@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the Azure Resource Group., accountName: any # The name of the Maps Account.}\n@returns(200) The Account was deleted successfully.\n@returns(204) The specified Account was not found. Nothing was deleted.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}\n@desc Get a Maps Account.\n@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the Azure Resource Group., accountName: any # The name of the Maps Account.}\n@returns(200) The request was successful.\n@errors {404: The specified Account does not exist.}\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts\n@desc Get all Maps Accounts in a Resource Group\n@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the Azure Resource Group.}\n@returns(200) The request was successful.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Maps/accounts\n@desc Get all Maps Accounts in a Subscription\n@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(200) The request was successful.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources\n@desc Moves Maps Accounts from one ResourceGroup (or Subscription) to another\n@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the resource group that contains Maps Account to move., moveRequest: map # The details of the Maps Account move.}\n@returns(200) The Accounts were successfully moved.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/listKeys\n@desc Get the keys to use with the Maps APIs. A key is used to authenticate and authorize access to the Maps REST APIs. Only one key is needed at a time; two are given to provide seamless key regeneration.\n@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the Azure Resource Group., accountName: any # The name of the Maps Account.}\n@returns(200) The request was successful.\n@errors {404: The specified Account does not exist.}\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/regenerateKey\n@desc Regenerate either the primary or secondary key for use with the Maps APIs. The old key will stop working immediately.\n@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the Azure Resource Group., accountName: any # The name of the Maps Account., keySpecification: map # Which key to regenerate:  primary or secondary.}\n@returns(200) The request was successful.\n@errors {404: The specified Account does not exist.}\n\n@endgroup\n\n@group providers\n@endpoint GET /providers/Microsoft.Maps/operations\n@desc List operations available for the Maps Resource Provider\n@returns(200) The request was successful.\n\n@endgroup\n\n@end\n"}}