Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -1210,6 +1210,20 @@
"type": "string"
}
},
"applicableScenarios": {
"description": "The list of scenarios applicable to this metadata entity.",
"type": "array",
"items": {
"enum": [
"Alerts"
],
"type": "string",
"x-ms-enum": {
"name": "Scenario",
"modelAsString": true
}
}
},
"supportedValues": {
"description": "The list of supported values.",
"type": "array",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"type": "Microsoft.ResourceHealth/metadata",
"properties": {
"displayName": "<Localized string>",
"applicableScenarios": [
"Alerts"
],
"supportedValues": [
{
"id": "Active",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"type": "Microsoft.ResourceHealth/metadata",
"properties": {
"displayName": "Status",
"applicableScenarios": [
"Alerts"
],
"supportedValues": [
{
"id": "Active",
Expand All @@ -39,6 +42,9 @@
"type": "Microsoft.ResourceHealth/metadata",
"properties": {
"displayName": "cause",
"applicableScenarios": [
"Alerts"
],
"supportedValues": [
{
"id": "PlatformInitiated",
Expand All @@ -57,6 +63,9 @@
"type": "Microsoft.ResourceHealth/metadata",
"properties": {
"displayName": "Previous Health Status",
"applicableScenarios": [
"Alerts"
],
"supportedValues": [
{
"id": "Available",
Expand All @@ -79,6 +88,7 @@
"type": "Microsoft.ResourceHealth/metadata",
"properties": {
"displayName": "Current Health Status",
"applicableScenarios": null,
"supportedValues": [
{
"id": "Available",
Expand Down