{"files":{"SKILL.md":"---\nname: applicationinsightsmanagementclient\ndescription: \"ApplicationInsightsManagementClient API skill. Use when working with ApplicationInsightsManagementClient for subscriptions. Covers 4 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}/Annotations -- gets the list of annotations for a component for given time range\n3. Explore available endpoints below\n\n## Endpoints\n4 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}/Annotations | Gets the list of annotations for a component for given time range |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations | Create an Annotation of an Application Insights component. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId} | Delete an Annotation of an Application Insights component. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId} | Get the annotation for given id. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all Annotations?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations\n- \"Delete a Annotation?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}\n- \"Get Annotation details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}\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 4\n@toc subscriptions(4)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations\n@desc Gets the list of annotations for a component for given time range\n@required {resourceName: any # The name of the Application Insights component resource., start: any # The start time to query from for annotations, cannot be older than 90 days from current date., end: any # The end time to query for annotations.}\n@returns(200) successful operation\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations\n@desc Create an Annotation of an Application Insights component.\n@required {resourceName: any # The name of the Application Insights component resource., AnnotationProperties: map # Properties that need to be specified to create an annotation of a Application Insights component.}\n@returns(200) An object containing the annotation definition created by this PUT call.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}\n@desc Delete an Annotation of an Application Insights component.\n@required {resourceName: any # The name of the Application Insights component resource., annotationId: any # The unique annotation ID. This is unique within a Application Insights component.}\n@returns(200) The annotation that was successfully deleted.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}\n@desc Get the annotation for given id.\n@required {resourceName: any # The name of the Application Insights component resource., annotationId: any # The unique annotation ID. This is unique within a Application Insights component.}\n@returns(200) The Annotation object for this id.\n\n@end\n"}}