{"files":{"SKILL.md":"---\nname: azure-activity-log-alerts-api\ndescription: \"Azure Activity Log Alerts API skill. Use when working with Azure Activity Log Alerts for subscriptions. Covers 6 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Azure Activity Log Alerts API\nAPI version: 2017-04-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/activityLogAlerts/{activityLogAlertName} -- get an activity log alert.\n3. Explore available endpoints below\n\n## Endpoints\n6 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName} | Create a new activity log alert or update an existing one. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName} | Get an activity log alert. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName} | Delete an activity log alert. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName} | Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method. |\n| GET | /subscriptions/{subscriptionId}/providers/microsoft.insights/activityLogAlerts | Get a list of all activity log alerts in a subscription. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts | Get a list of all activity log alerts in a resource group. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Update a activityLogAlert?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}\n- \"Get activityLogAlert details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}\n- \"Delete a activityLogAlert?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}\n- \"Partially update a activityLogAlert?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}\n- \"List all activityLogAlerts?\" -> GET /subscriptions/{subscriptionId}/providers/microsoft.insights/activityLogAlerts\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 Azure Activity Log Alerts API\n@base https://management.azure.com\n@version 2017-04-01\n@auth OAuth2\n@endpoints 6\n@toc subscriptions(6)\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}\n@desc Create a new activity log alert or update an existing one.\n@required {activityLogAlertName: any # The name of the activity log alert., activityLogAlert: any # The activity log alert to create or use for the update.}\n@returns(200) An existing activity log alert was successfully updated.\n@returns(201) A new activity log alert was successfully created.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}\n@desc Get an activity log alert.\n@required {activityLogAlertName: any # The name of the activity log alert.}\n@returns(200) The request succeeded.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}\n@desc Delete an activity log alert.\n@required {activityLogAlertName: any # The name of the activity log alert.}\n@returns(200) The activity log alert was successfully deleted.\n@returns(204) The activity log alert does not exist. It may have already been deleted.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}\n@desc Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.\n@required {activityLogAlertName: any # The name of the activity log alert., activityLogAlertPatch: any # Parameters supplied to the operation.}\n@returns(200) An existing activity log alert was successfully updated.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/microsoft.insights/activityLogAlerts\n@desc Get a list of all activity log alerts in a subscription.\n@returns(200) The request succeeded.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts\n@desc Get a list of all activity log alerts in a resource group.\n@returns(200) The request succeeded.\n\n@end\n"}}