{"files":{"SKILL.md":"---\nname: workload-monitor-api\ndescription: \"Workload Monitor API skill. Use when working with Workload Monitor for subscriptions, providers. Covers 13 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Workload Monitor API\nAPI version: 2018-08-31-preview\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /providers/Microsoft.WorkloadMonitor/operations -- gets the details of all operations possible on the resource provider.\n3. Explore available endpoints below\n\n## Endpoints\n13 endpoints across 2 groups. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors | Get list of a monitors of a resource. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors/{monitorId} | Get details of a single monitor. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors/{monitorId} | Update a Monitor's configuration. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/components | Get list of components for a resource. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/components/{componentId} | Get details of a component. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitorInstances | Get list of monitor instances for a resource. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitorInstances/{monitorInstanceId} | Get details of a monitorInstance. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/notificationSettings | Get list of notification settings for a resource. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/notificationSettings/{notificationSettingName} | Get a of notification setting for a resource. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/notificationSettings/{notificationSettingName} | Update notification settings for a resource. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.WorkloadMonitor/componentsSummary | Get subscription wide details of components. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.WorkloadMonitor/monitorInstancesSummary | Get subscription wide health instances. |\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /providers/Microsoft.WorkloadMonitor/operations | Gets the details of all operations possible on the resource provider. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all monitors?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors\n- \"Get monitor details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors/{monitorId}\n- \"Partially update a monitor?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors/{monitorId}\n- \"List all components?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/components\n- \"Get component details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/components/{componentId}\n- \"List all monitorInstances?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitorInstances\n- \"Get monitorInstance details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitorInstances/{monitorInstanceId}\n- \"List all notificationSettings?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/notificationSettings\n- \"Get notificationSetting details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/notificationSettings/{notificationSettingName}\n- \"Update a notificationSetting?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/notificationSettings/{notificationSettingName}\n- \"List all componentsSummary?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.WorkloadMonitor/componentsSummary\n- \"List all monitorInstancesSummary?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.WorkloadMonitor/monitorInstancesSummary\n- \"List all operations?\" -> GET /providers/Microsoft.WorkloadMonitor/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\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 Workload Monitor API\n@base https://management.azure.com\n@version 2018-08-31-preview\n@auth OAuth2\n@common_fields {api-version: any # The API version to use for this operation.}\n@endpoints 13\n@toc subscriptions(12), providers(1)\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors\n@desc Get list of a monitors of a resource.\n@required {resourceNamespace: any # The Namespace of the resource., resourceType: any # The type of the resource., resourceName: any # Name of the resource.}\n@optional {$filter: any # Filter to be applied on the operation., $skiptoken: any # The page-continuation token to use with a paged version of this API.}\n@returns(200) OK. At least one monitor is found.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors/{monitorId}\n@desc Get details of a single monitor.\n@required {resourceNamespace: any # The Namespace of the resource., resourceType: any # The type of the resource., resourceName: any # Name of the resource., monitorId: any # Monitor Id.}\n@returns(200) OK. monitor is found.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors/{monitorId}\n@desc Update a Monitor's configuration.\n@required {resourceNamespace: any # The Namespace of the resource., resourceType: any # The type of the resource., resourceName: any # Name of the resource., monitorId: any # Monitor Id., body: map # Body of the Monitor PATCH object.}\n@returns(200) OK. Existing monitor is updated.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/components\n@desc Get list of components for a resource.\n@required {resourceNamespace: any # The Namespace of the resource., resourceType: any # The type of the resource., resourceName: any # Name of the resource.}\n@optional {$select: any # Properties to be returned in the response., $filter: any # Filter to be applied on the operation., $apply: any # Apply aggregation., $orderby: any # Sort the result on one or more properties., $expand: any # Include properties inline in the response., $top: any # Limit the result to the specified number of rows., $skiptoken: any # The page-continuation token to use with a paged version of this API.}\n@returns(200) OK. At least one component found.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/components/{componentId}\n@desc Get details of a component.\n@required {resourceNamespace: any # The Namespace of the resource., resourceType: any # The type of the resource., resourceName: any # Name of the resource., componentId: any # Component Id.}\n@optional {$select: any # Properties to be returned in the response., $expand: any # Include properties inline in the response.}\n@returns(200) OK. component is found.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitorInstances\n@desc Get list of monitor instances for a resource.\n@required {resourceNamespace: any # The Namespace of the resource., resourceType: any # The type of the resource., resourceName: any # Name of the resource.}\n@optional {$select: any # Properties to be returned in the response., $filter: any # Filter to be applied on the operation., $apply: any # Apply aggregation., $orderby: any # Sort the result on one or more properties., $expand: any # Include properties inline in the response., $top: any # Limit the result to the specified number of rows., $skiptoken: any # The page-continuation token to use with a paged version of this API.}\n@returns(200) OK.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitorInstances/{monitorInstanceId}\n@desc Get details of a monitorInstance.\n@required {resourceNamespace: any # The Namespace of the resource., resourceType: any # The type of the resource., resourceName: any # Name of the resource., monitorInstanceId: any # MonitorInstance Id.}\n@optional {$select: any # Properties to be returned in the response., $expand: any # Include properties inline in the response.}\n@returns(200) OK. monitorInstance is found.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/notificationSettings\n@desc Get list of notification settings for a resource.\n@required {resourceNamespace: any # The Namespace of the resource., resourceType: any # The type of the resource., resourceName: any # Name of the resource.}\n@optional {$skiptoken: any # The page-continuation token to use with a paged version of this API.}\n@returns(200) OK. At least one component found.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/notificationSettings/{notificationSettingName}\n@desc Get a of notification setting for a resource.\n@required {resourceNamespace: any # The Namespace of the resource., resourceType: any # The type of the resource., resourceName: any # Name of the resource., notificationSettingName: any # Default string modeled as parameter for URL to work correctly.}\n@returns(200) OK. At least one component found.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/notificationSettings/{notificationSettingName}\n@desc Update notification settings for a resource.\n@required {resourceNamespace: any # The Namespace of the resource., resourceType: any # The type of the resource., resourceName: any # Name of the resource., notificationSettingName: any # Default string modeled as parameter for URL to work correctly., body: map # Body of the NotificationSetting PUT object.}\n@returns(200) OK. At least one component found.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.WorkloadMonitor/componentsSummary\n@desc Get subscription wide details of components.\n@optional {$select: any # Properties to be returned in the response., $filter: any # Filter to be applied on the operation., $apply: any # Apply aggregation., $orderby: any # Sort the result on one or more properties., $expand: any # Include properties inline in the response., $top: any # Limit the result to the specified number of rows., $skiptoken: any # The page-continuation token to use with a paged version of this API.}\n@returns(200) OK. At least one component found.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.WorkloadMonitor/monitorInstancesSummary\n@desc Get subscription wide health instances.\n@optional {$select: any # Properties to be returned in the response., $filter: any # Filter to be applied on the operation., $apply: any # Apply aggregation., $orderby: any # Sort the result on one or more properties., $expand: any # Include properties inline in the response., $top: any # Limit the result to the specified number of rows., $skiptoken: any # The page-continuation token to use with a paged version of this API.}\n@returns(200) OK.\n\n@endgroup\n\n@group providers\n@endpoint GET /providers/Microsoft.WorkloadMonitor/operations\n@desc Gets the details of all operations possible on the resource provider.\n@optional {$skiptoken: any # The page-continuation token to use with a paged version of this API.}\n@returns(200) OK.\n\n@endgroup\n\n@end\n"}}