diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/ResourceHealth.json index 746794b777d8..15e479d48187 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/ResourceHealth.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/ResourceHealth.json @@ -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", diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/Metadata_GetMetadataEntity.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/Metadata_GetMetadataEntity.json index 78ebaf20c744..29e451082971 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/Metadata_GetMetadataEntity.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/Metadata_GetMetadataEntity.json @@ -11,6 +11,9 @@ "type": "Microsoft.ResourceHealth/metadata", "properties": { "displayName": "", + "applicableScenarios": [ + "Alerts" + ], "supportedValues": [ { "id": "Active", diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/Metadata_ListMetadata.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/Metadata_ListMetadata.json index 6d9207e62149..5e3fa18fd0c1 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/Metadata_ListMetadata.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/Metadata_ListMetadata.json @@ -13,6 +13,9 @@ "type": "Microsoft.ResourceHealth/metadata", "properties": { "displayName": "Status", + "applicableScenarios": [ + "Alerts" + ], "supportedValues": [ { "id": "Active", @@ -39,6 +42,9 @@ "type": "Microsoft.ResourceHealth/metadata", "properties": { "displayName": "cause", + "applicableScenarios": [ + "Alerts" + ], "supportedValues": [ { "id": "PlatformInitiated", @@ -57,6 +63,9 @@ "type": "Microsoft.ResourceHealth/metadata", "properties": { "displayName": "Previous Health Status", + "applicableScenarios": [ + "Alerts" + ], "supportedValues": [ { "id": "Available", @@ -79,6 +88,7 @@ "type": "Microsoft.ResourceHealth/metadata", "properties": { "displayName": "Current Health Status", + "applicableScenarios": null, "supportedValues": [ { "id": "Available",