{"files":{"SKILL.md":"---\nname: microsoftresourcehealth\ndescription: \"Microsoft.ResourceHealth API skill. Use when working with Microsoft.ResourceHealth for subscriptions, {resourceUri}, providers. Covers 10 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Microsoft.ResourceHealth\nAPI version: 2017-07-01\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /providers/Microsoft.ResourceHealth/operations -- lists available operations for the resourcehealth resource provider\n3. Explore available endpoints below\n\n## Endpoints\n10 endpoints across 3 groups. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/availabilityStatuses | Lists the current availability status for all the resources in the subscription. Use the nextLink property in the response to get the next page of availability statuses. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceHealth/availabilityStatuses | Lists the current availability status for all the resources in the resource group. Use the nextLink property in the response to get the next page of availability statuses. |\n\n### {resourceUri}\n| Method | Path | Description |\n|--------|------|-------------|\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. Use the nextLink property in the response to get the next page of availability status |\n| GET | /{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses/current | Gets current availability status for a single resource |\n| GET | /{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses | Lists the historical availability statuses for a single child resource. Use the nextLink property in the response to get the next page of availability status |\n| GET | /{resourceUri}/providers/Microsoft.ResourceHealth/childResources | Lists the all the children and its current health status for a parent resource. Use the nextLink property in the response to get the next page of children current health |\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /providers/Microsoft.ResourceHealth/operations | Lists available operations for the resourcehealth resource provider |\n| GET | /providers/Microsoft.ResourceHealth/emergingIssues/{issueName} | Gets Azure services' emerging issues. |\n| GET | /providers/Microsoft.ResourceHealth/emergingIssues | Lists Azure services' emerging issues. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\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 childAvailabilityStatuses?\" -> GET /{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses\n- \"List all childResources?\" -> GET /{resourceUri}/providers/Microsoft.ResourceHealth/childResources\n- \"List all operations?\" -> GET /providers/Microsoft.ResourceHealth/operations\n- \"Get emergingIssue details?\" -> GET /providers/Microsoft.ResourceHealth/emergingIssues/{issueName}\n- \"List all emergingIssues?\" -> GET /providers/Microsoft.ResourceHealth/emergingIssues\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\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 2017-07-01\n@auth OAuth2\n@common_fields {api-version: any # Client Api Version.}\n@endpoints 10\n@toc subscriptions(2), {resourceUri}(5), providers(3)\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/availabilityStatuses\n@desc Lists the current availability status for all the resources in the subscription. Use the nextLink property in the response to get the next page of availability statuses.\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 body contains the list of the 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. Use the nextLink property in the response to get the next page of availability statuses.\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 body contains the list of the 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 body contains 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. Use the nextLink property in the response to get the next page of availability status\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 body contains the list of the historical availability statuses for a single resource\n\n@endpoint GET /{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses/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 only support one nesting level resource types : /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 body contains the current availability status for a single resource\n\n@endpoint GET /{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses\n@desc Lists the historical availability statuses for a single child resource. Use the nextLink property in the response to get the next page of availability status\n@required {resourceUri: any # The fully qualified ID of the resource, including the resource name and resource type. Currently the API only support one nesting level resource types : /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 body contains the list of the historical availability statuses for a single child resource\n\n@endpoint GET /{resourceUri}/providers/Microsoft.ResourceHealth/childResources\n@desc Lists the all the children and its current health status for a parent resource. Use the nextLink property in the response to get the next page of children current health\n@required {resourceUri: any # The fully qualified ID of the resource, including the resource name and resource type. Currently the API only support not nested parent resource type: /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}}\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 body contains the list of the children's current availability statuses for a single resource which contains children\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 body contains the list of available operations for the resourcehealth resource provider\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@end\n"}}