{"files":{"SKILL.md":"---\nname: applicationinsightsmanagementclient\ndescription: \"ApplicationInsightsManagementClient API skill. Use when working with ApplicationInsightsManagementClient for subscriptions. Covers 5 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# ApplicationInsightsManagementClient\nAPI version: 2015-05-01\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites -- gets a list of favorites defined within an application insights component.\n3. Explore available endpoints below\n\n## Endpoints\n5 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites | Gets a list of favorites defined within an Application Insights component. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId} | Get a single favorite by its FavoriteId, defined within an Application Insights component. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId} | Adds a new favorites to an Application Insights component. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId} | Updates a favorite that has already been added to an Application Insights component. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId} | Remove a favorite that is associated to an Application Insights component. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all favorites?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites\n- \"Get favorite details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}\n- \"Update a favorite?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}\n- \"Partially update a favorite?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}\n- \"Delete a favorite?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}\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\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 ApplicationInsightsManagementClient\n@base https://management.azure.com\n@version 2015-05-01\n@auth OAuth2\n@endpoints 5\n@toc subscriptions(5)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites\n@desc Gets a list of favorites defined within an Application Insights component.\n@required {resourceName: any # The name of the Application Insights component resource.}\n@optional {favoriteType: any # The type of favorite. Value can be either shared or user., sourceType: any # Source type of favorite to return. When left out, the source type defaults to 'other' (not present in this enum)., canFetchContent: any # Flag indicating whether or not to return the full content for each applicable favorite. If false, only return summary content for favorites., tags: any # Tags that must be present on each favorite returned.}\n@returns(200) A list containing 0 or more favorite definitions associated to the Application Insights component.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}\n@desc Get a single favorite by its FavoriteId, defined within an Application Insights component.\n@required {resourceName: any # The name of the Application Insights component resource., favoriteId: any # The Id of a specific favorite defined in the Application Insights component}\n@returns(200) A favorite definition associated to the Application Insights component.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}\n@desc Adds a new favorites to an Application Insights component.\n@required {resourceName: any # The name of the Application Insights component resource., favoriteId: any # The Id of a specific favorite defined in the Application Insights component, favoriteProperties: any # Properties that need to be specified to create a new favorite and add it to an Application Insights component.}\n@returns(200) The newly created favorite that is associated to the Application Insights component.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}\n@desc Updates a favorite that has already been added to an Application Insights component.\n@required {resourceName: any # The name of the Application Insights component resource., favoriteId: any # The Id of a specific favorite defined in the Application Insights component, favoriteProperties: any # Properties that need to be specified to update the existing favorite.}\n@returns(200) The favorite definition updated.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}\n@desc Remove a favorite that is associated to an Application Insights component.\n@required {resourceName: any # The name of the Application Insights component resource., favoriteId: any # The Id of a specific favorite defined in the Application Insights component}\n@returns(200) The favorite has been successfully removed from the Application Insights component.\n\n@end\n"}}