Resource Health Metadata - List
Description for List all ResourceHealthMetadata for all sites in the subscription.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Web/resourceHealthMetadata?api-version=2022-03-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
subscription
|
path | True |
string |
Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). |
api-version
|
query | True |
string |
API Version |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
App Service error response. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
List ResourceHealthMetadata for a subscription
Sample Request
GET https://management.azure.com/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/providers/Microsoft.Web/resourceHealthMetadata?api-version=2022-03-01
Sample Response
{
"value": [
{
"properties": {
"category": "Shared",
"signalAvailability": true
},
"id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default",
"name": "default",
"type": "Microsoft.Web/sites/resourceHealthMetadata"
}
],
"nextLink": ""
}
Definitions
Name | Description |
---|---|
Default |
App Service error response. |
Details | |
Error |
Error model. |
Resource |
Used for getting ResourceHealthCheck settings. |
Resource |
Collection of resource health metadata. |
DefaultErrorResponse
App Service error response.
Name | Type | Description |
---|---|---|
error |
Error model. |
Details
Name | Type | Description |
---|---|---|
code |
string |
Standardized string to programmatically identify the error. |
message |
string |
Detailed error description and debugging information. |
target |
string |
Detailed error description and debugging information. |
Error
Error model.
Name | Type | Description |
---|---|---|
code |
string |
Standardized string to programmatically identify the error. |
details |
Details[] |
Detailed errors. |
innererror |
string |
More information to debug error. |
message |
string |
Detailed error description and debugging information. |
target |
string |
Detailed error description and debugging information. |
ResourceHealthMetadata
Used for getting ResourceHealthCheck settings.
Name | Type | Description |
---|---|---|
id |
string |
Resource Id. |
kind |
string |
Kind of resource. |
name |
string |
Resource Name. |
properties.category |
string |
The category that the resource matches in the RHC Policy File |
properties.signalAvailability |
boolean |
Is there a health signal for the resource |
type |
string |
Resource type. |
ResourceHealthMetadataCollection
Collection of resource health metadata.
Name | Type | Description |
---|---|---|
nextLink |
string |
Link to next page of resources. |
value |
Collection of resources. |