{"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: 2018-06-17-preview\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/workbooks -- get all workbooks defined within a specified resource group and category.\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/workbooks | Get all Workbooks defined within a specified resource group and category. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName} | Get a single workbook by its resourceName. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName} | Delete a workbook. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName} | Create a new workbook. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName} | Updates a workbook that has already been added. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all workbooks?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks\n- \"Get workbook details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}\n- \"Delete a workbook?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}\n- \"Update a workbook?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}\n- \"Partially update a workbook?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{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\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 2018-06-17-preview\n@auth OAuth2\n@endpoints 5\n@toc subscriptions(5)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks\n@desc Get all Workbooks defined within a specified resource group and category.\n@required {category: any # Category of workbook to return., sourceId: any # Azure Resource Id that will fetch all related workbooks.}\n@optional {tags: any # Tags presents on each workbook returned., canFetchContent: any # Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.}\n@returns(200) A list containing 0 or more workbook definitions.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}\n@desc Get a single workbook by its resourceName.\n@required {resourceName: any # The name of the Application Insights component resource.}\n@returns(200) A workbook definition.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}\n@desc Delete a workbook.\n@required {resourceName: any # The name of the Application Insights component resource.}\n@returns(201) The workbook has been successfully deleted.\n@returns(204) The resource doesn't exist.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}\n@desc Create a new workbook.\n@required {resourceName: any # The name of the Application Insights component resource., sourceId: any # Azure Resource Id that will fetch all related workbooks., workbookProperties: any # Properties that need to be specified to create a new workbook.}\n@returns(200) The newly created workbook.\n@returns(201) The newly created workbook.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}\n@desc Updates a workbook that has already been added.\n@required {resourceName: any # The name of the Application Insights component resource., sourceId: any # Azure Resource Id that will fetch all related workbooks.}\n@optional {WorkbookUpdateParameters: any # Properties that need to be specified to create a new workbook.}\n@returns(200) The workbook definition updated.\n\n@end\n"}}