{"files":{"SKILL.md":"---\nname: microsoftresourcehealth\ndescription: \"Microsoft.ResourceHealth API skill. Use when working with Microsoft.ResourceHealth for providers, subscriptions, {resourceUri}. Covers 12 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Microsoft.ResourceHealth\nAPI version: 2018-07-01-preview\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /providers/Microsoft.ResourceHealth/metadata -- gets the list of metadata entities.\n3. Explore available endpoints below\n\n## Endpoints\n12 endpoints across 3 groups. See references/api-spec.lap for full details.\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /providers/Microsoft.ResourceHealth/metadata/{name} | Gets the metadata entity. |\n| GET | /providers/Microsoft.ResourceHealth/metadata | Gets the list of metadata entities. |\n| GET | /providers/Microsoft.ResourceHealth/emergingIssues/{issueName} | Gets Azure services' emerging issues. |\n| GET | /providers/Microsoft.ResourceHealth/emergingIssues | Lists Azure services' emerging issues. |\n| GET | /providers/Microsoft.ResourceHealth/operations | Lists available operations for the resourcehealth resource provider |\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events | Lists current service health events in the subscription. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/impactedResources | Lists the current availability status for impacted resources in the subscription. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/availabilityStatuses | Lists the current availability status for all the resources in the subscription. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceHealth/availabilityStatuses | Lists the current availability status for all the resources in the resource group. |\n\n### {resourceUri}\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /{resourceUri}/providers/Microsoft.ResourceHealth/events | Lists current service health events for given resource. |\n| GET | /{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses/current | Gets current availability status for a single resource |\n| GET | /{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses | Lists all historical availability transitions and impacting events for a single resource. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Get metadata details?\" -> GET /providers/Microsoft.ResourceHealth/metadata/{name}\n- \"List all metadata?\" -> GET /providers/Microsoft.ResourceHealth/metadata\n- \"Get emergingIssue details?\" -> GET /providers/Microsoft.ResourceHealth/emergingIssues/{issueName}\n- \"List all emergingIssues?\" -> GET /providers/Microsoft.ResourceHealth/emergingIssues\n- \"List all events?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events\n- \"List all impactedResources?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/impactedResources\n- \"List all availabilityStatuses?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/availabilityStatuses\n- \"List all current?\" -> GET /{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses/current\n- \"List all operations?\" -> GET /providers/Microsoft.ResourceHealth/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- Error responses include status codes and descriptions in the spec\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 Microsoft.ResourceHealth\n@base https://management.azure.com\n@version 2018-07-01-preview\n@auth OAuth2\n@common_fields {api-version: any # Client Api Version.}\n@endpoints 12\n@toc providers(5), subscriptions(4), {resourceUri}(3)\n\n@group providers\n@endpoint GET /providers/Microsoft.ResourceHealth/metadata/{name}\n@desc Gets the metadata entity.\n@required {name: any # Name of metadata entity.}\n@returns(200) OK. Successfully retrieved metadata entities\n@errors {404: Client sent unknown metadata name}\n\n@endpoint GET /providers/Microsoft.ResourceHealth/metadata\n@desc Gets the list of metadata entities.\n@returns(200) OK. Successfully retrieved metadata entities\n\n@endpoint GET /providers/Microsoft.ResourceHealth/emergingIssues/{issueName}\n@desc Gets Azure services' emerging issues.\n@required {issueName: any # The name of the emerging issue.}\n@returns(200) The body contains properties of azure emerging issues, which includes a list of status banner and status active events.\n\n@endpoint GET /providers/Microsoft.ResourceHealth/emergingIssues\n@desc Lists Azure services' emerging issues.\n@returns(200) The body contains a list of azure emerging issues.\n\n@endgroup\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events\n@desc Lists current service health events in the subscription.\n@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@optional {$filter: any # The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN}\n@returns(200) The list of current service health events in the subscription\n\n@endgroup\n\n@group {resourceUri}\n@endpoint GET /{resourceUri}/providers/Microsoft.ResourceHealth/events\n@desc Lists current service health events for given resource.\n@required {resourceUri: any # The fully qualified ID of the resource, including the resource name and resource type. Currently the API support not nested and one nesting level resource types : /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name} and /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}}\n@optional {$filter: any # The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN}\n@returns(200) The list of current service health events for given resource\n\n@endgroup\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/impactedResources\n@desc Lists the current availability status for impacted resources in the subscription.\n@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@optional {$filter: any # The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN}\n@returns(200) The list of current availability status for impacted resources in the subscription\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/availabilityStatuses\n@desc Lists the current availability status for all the resources in the subscription.\n@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@optional {$filter: any # The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN, $expand: any # Setting $expand=recommendedactions in url query expands the recommendedactions in the response.}\n@returns(200) The list of current availability status for all the resources in the subscription\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceHealth/availabilityStatuses\n@desc Lists the current availability status for all the resources in the resource group.\n@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the resource group.}\n@optional {$filter: any # The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN, $expand: any # Setting $expand=recommendedactions in url query expands the recommendedactions in the response.}\n@returns(200) The list of current availability status for all the resources in the resource group\n\n@endgroup\n\n@group {resourceUri}\n@endpoint GET /{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses/current\n@desc Gets current availability status for a single resource\n@required {resourceUri: any # The fully qualified ID of the resource, including the resource name and resource type. Currently the API support not nested and one nesting level resource types : /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name} and /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}}\n@optional {$filter: any # The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN, $expand: any # Setting $expand=recommendedactions in url query expands the recommendedactions in the response.}\n@returns(200) The current availability status for a single resource\n\n@endpoint GET /{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses\n@desc Lists all historical availability transitions and impacting events for a single resource.\n@required {resourceUri: any # The fully qualified ID of the resource, including the resource name and resource type. Currently the API support not nested and one nesting level resource types : /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name} and /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}}\n@optional {$filter: any # The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN, $expand: any # Setting $expand=recommendedactions in url query expands the recommendedactions in the response.}\n@returns(200) The list of historical availability statuses for a single resource\n\n@endgroup\n\n@group providers\n@endpoint GET /providers/Microsoft.ResourceHealth/operations\n@desc Lists available operations for the resourcehealth resource provider\n@returns(200) The list of available operations for the resourcehealth resource provider\n\n@endgroup\n\n@end\n"}}