From 91d9cc11a0bd0587676375b1675ddabfea9eb68b Mon Sep 17 00:00:00 2001 From: Gilad Suberr Date: Wed, 2 Dec 2020 14:36:07 +0200 Subject: [PATCH 01/14] Update swagger with new properties --- .../ResourceHealthAlertRules.json | 32 +++++++++++++++---- ...createOrUpdateResourceHealthAlertRule.json | 12 ++++++- .../examples/getResourceHealthAlertRule.json | 12 ++++++- .../listResourceHealthAlertRules.json | 12 ++++++- .../patchResourceHealthAlertRule.json | 12 ++++++- 5 files changed, 69 insertions(+), 11 deletions(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json index 0ede910f5f1b..30c7355d412d 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json @@ -457,7 +457,7 @@ "namespace": { "type": "string", "enum": [ - "VmGuestHealth" + "GuestVmHealth" ], "x-ms-enum": { "name": "HealthAlertsNamespace", @@ -480,9 +480,19 @@ } ], "properties": { - "healthMonitorName": { - "type": "string", - "description": "Name of health monitor on which to define alert" + "monitorNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Names of health monitor on which to define alert" + }, + "monitorTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Names of health monitor type on which to define alert" }, "healthStates": { "type": "array", @@ -493,7 +503,7 @@ } }, "required": [ - "healthMonitorName" + "healthStates" ], "description": "Specifies the health alert criteria to alert on." }, @@ -502,10 +512,18 @@ "properties": { "healthStateName": { "type": "string", - "description": "Health state" + "description": "Health state name", + "enum": [ + "Warning", + "Critical" + ], + "x-ms-enum": { + "name": "HealthStateName", + "modelAsString": true + }, }, "severity": { - "type": "string", + "type": "int", "description": "Severity of alert fired" } }, diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/createOrUpdateResourceHealthAlertRule.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/createOrUpdateResourceHealthAlertRule.json index cf3775ea4d92..2e881b72d8ec 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/createOrUpdateResourceHealthAlertRule.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/createOrUpdateResourceHealthAlertRule.json @@ -18,7 +18,17 @@ "monitorNames": [ "root" ], - "namespace": "VmGuestHealth" + "healthStates": [ + { + "name": "Critical", + "severity": 2 + }, + { + "name": "Warning", + "severity": 3 + } + ], + "namespace": "GuestVmHealth" } ] }, diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/getResourceHealthAlertRule.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/getResourceHealthAlertRule.json index 05e87704df81..96ce9b3e6cec 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/getResourceHealthAlertRule.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/getResourceHealthAlertRule.json @@ -24,7 +24,17 @@ "monitorNames": [ "root" ], - "namespace": "VmGuestHealth" + "healthStates": [ + { + "name": "Critical", + "severity": 2 + }, + { + "name": "Warning", + "severity": 3 + } + ], + "namespace": "GuestVmHealth" } ] }, diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/listResourceHealthAlertRules.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/listResourceHealthAlertRules.json index e3fb76364246..10d0ac94ba11 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/listResourceHealthAlertRules.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/listResourceHealthAlertRules.json @@ -25,7 +25,17 @@ "monitorNames": [ "root" ], - "namespace": "VmGuestHealth" + "healthStates": [ + { + "name": "Critical", + "severity": 2 + }, + { + "name": "Warning", + "severity": 3 + } + ], + "namespace": "GuestVmHealth" } ] }, diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json index 6a697de53e05..79eb06327cbc 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json @@ -17,7 +17,17 @@ "monitorNames": [ "root" ], - "namespace": "VmGuestHealth" + "healthStates": [ + { + "name": "Critical", + "severity": 2 + }, + { + "name": "Warning", + "severity": 3 + } + ], + "namespace": "GuestVmHealth" } ] }, From c4f2957950d9891c9fd27e221a1294f1d1549a30 Mon Sep 17 00:00:00 2001 From: Gilad Suberr Date: Wed, 2 Dec 2020 14:53:53 +0200 Subject: [PATCH 02/14] Removed extra comma --- .../preview/2020-08-04-preview/ResourceHealthAlertRules.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json index 30c7355d412d..25fc603ab0da 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json @@ -520,7 +520,7 @@ "x-ms-enum": { "name": "HealthStateName", "modelAsString": true - }, + } }, "severity": { "type": "int", From e6969d2d96a984587110e40221a5d06628201603 Mon Sep 17 00:00:00 2001 From: Gilad Suberr Date: Wed, 2 Dec 2020 15:06:27 +0200 Subject: [PATCH 03/14] Fixed syntax error --- .../preview/2020-08-04-preview/ResourceHealthAlertRules.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json index 25fc603ab0da..d71040e27e11 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json @@ -523,7 +523,7 @@ } }, "severity": { - "type": "int", + "type": "integer", "description": "Severity of alert fired" } }, From 302b548da6a341788c1a14642f55a46b90a40f46 Mon Sep 17 00:00:00 2001 From: Gilad Suberr Date: Wed, 2 Dec 2020 15:26:01 +0200 Subject: [PATCH 04/14] Add format --- .../preview/2020-08-04-preview/ResourceHealthAlertRules.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json index d71040e27e11..1ec831c6dfb0 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json @@ -524,6 +524,7 @@ }, "severity": { "type": "integer", + "format": "int64", "description": "Severity of alert fired" } }, From b27af73c5505495b6b1a72e6392038937e2c0c57 Mon Sep 17 00:00:00 2001 From: Gilad Suberr Date: Wed, 2 Dec 2020 15:29:35 +0200 Subject: [PATCH 05/14] Using new enum --- .../preview/2020-08-04-preview/ResourceHealthAlertRules.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json index 1ec831c6dfb0..dc8da2bcebaf 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json @@ -472,7 +472,7 @@ "description": "The rule criterion that defines the conditions of the alert rule." }, "VmGuestHealthAlertCriterion": { - "x-ms-discriminator-value": "VmGuestHealth", + "x-ms-discriminator-value": "GuestVmHealth", "type": "object", "allOf": [ { From cc75f596ad122c696563ddb378a6a062d988ac21 Mon Sep 17 00:00:00 2001 From: Gilad Suberr Date: Wed, 2 Dec 2020 15:36:06 +0200 Subject: [PATCH 06/14] Updated example --- .../examples/createOrUpdateResourceHealthAlertRule.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/createOrUpdateResourceHealthAlertRule.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/createOrUpdateResourceHealthAlertRule.json index 2e881b72d8ec..199a988ca62d 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/createOrUpdateResourceHealthAlertRule.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/createOrUpdateResourceHealthAlertRule.json @@ -61,7 +61,7 @@ "allOf": [ { "monitorNames": "root", - "namespace": "VmGuestHealth" + "namespace": "GuestVmHealth" } ] }, From 05357bb61a6c92b8d6dacc6fca380e4d7d59806a Mon Sep 17 00:00:00 2001 From: Gilad Suberr Date: Wed, 2 Dec 2020 15:53:21 +0200 Subject: [PATCH 07/14] Fixed enum --- .../examples/patchResourceHealthAlertRule.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json index 79eb06327cbc..b0f763914383 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json @@ -62,7 +62,7 @@ "monitorNames": [ "root" ], - "namespace": "VmGuestHealth" + "namespace": "GuestVmHealth" } ] }, From b148aaaeefc91c8d208847ab0a7e96384277a9af Mon Sep 17 00:00:00 2001 From: Gilad Suberr Date: Wed, 2 Dec 2020 16:12:16 +0200 Subject: [PATCH 08/14] Prettier fix --- .../examples/getResourceHealthAlertRule.json | 4 +--- .../examples/patchResourceHealthAlertRule.json | 10 ++++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/getResourceHealthAlertRule.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/getResourceHealthAlertRule.json index 96ce9b3e6cec..90b686e2f96d 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/getResourceHealthAlertRule.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/getResourceHealthAlertRule.json @@ -21,9 +21,7 @@ "criteria": { "allOf": [ { - "monitorNames": [ - "root" - ], + "monitorNames": [ "root" ], "healthStates": [ { "name": "Critical", diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json index b0f763914383..4c80833897c5 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json @@ -62,6 +62,16 @@ "monitorNames": [ "root" ], + "healthStates": [ + { + "name": "Critical", + "severity": 2 + }, + { + "name": "Warning", + "severity": 3 + } + ], "namespace": "GuestVmHealth" } ] From 6bedf6b2e5af202fad209d088ed9775499a806bc Mon Sep 17 00:00:00 2001 From: Gilad Suberr Date: Wed, 2 Dec 2020 16:18:05 +0200 Subject: [PATCH 09/14] Prettier check fix --- .../examples/listResourceHealthAlertRules.json | 4 +--- .../examples/patchResourceHealthAlertRule.json | 8 ++------ 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/listResourceHealthAlertRules.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/listResourceHealthAlertRules.json index 10d0ac94ba11..77455e2d0601 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/listResourceHealthAlertRules.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/listResourceHealthAlertRules.json @@ -22,9 +22,7 @@ "criteria": { "allOf": [ { - "monitorNames": [ - "root" - ], + "monitorNames": [ "root" ], "healthStates": [ { "name": "Critical", diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json index 4c80833897c5..a8ba7e17d266 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json @@ -14,9 +14,7 @@ "criteria": { "allOf": [ { - "monitorNames": [ - "root" - ], + "monitorNames": [ "root" ], "healthStates": [ { "name": "Critical", @@ -59,9 +57,7 @@ "criteria": { "allOf": [ { - "monitorNames": [ - "root" - ], + "monitorNames": [ "root" ], "healthStates": [ { "name": "Critical", From 425679d9d69e3fcd71911f23f4bc81f25880fd90 Mon Sep 17 00:00:00 2001 From: Gilad Suberr Date: Wed, 2 Dec 2020 16:30:19 +0200 Subject: [PATCH 10/14] Prettier fix --- .../examples/getResourceHealthAlertRule.json | 4 +++- .../examples/listResourceHealthAlertRules.json | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/getResourceHealthAlertRule.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/getResourceHealthAlertRule.json index 90b686e2f96d..96ce9b3e6cec 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/getResourceHealthAlertRule.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/getResourceHealthAlertRule.json @@ -21,7 +21,9 @@ "criteria": { "allOf": [ { - "monitorNames": [ "root" ], + "monitorNames": [ + "root" + ], "healthStates": [ { "name": "Critical", diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/listResourceHealthAlertRules.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/listResourceHealthAlertRules.json index 77455e2d0601..10d0ac94ba11 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/listResourceHealthAlertRules.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/listResourceHealthAlertRules.json @@ -22,7 +22,9 @@ "criteria": { "allOf": [ { - "monitorNames": [ "root" ], + "monitorNames": [ + "root" + ], "healthStates": [ { "name": "Critical", From bf8bf3d728e898c00da892c89b3b3eb3088d669d Mon Sep 17 00:00:00 2001 From: Gilad Suberr Date: Wed, 2 Dec 2020 16:34:19 +0200 Subject: [PATCH 11/14] Prettier check --- .../examples/patchResourceHealthAlertRule.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json index a8ba7e17d266..14bf03341539 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json @@ -57,7 +57,9 @@ "criteria": { "allOf": [ { - "monitorNames": [ "root" ], + "monitorNames": [ + "root" + ], "healthStates": [ { "name": "Critical", From 13f34052841d578c15aef5ae66563329980e64d4 Mon Sep 17 00:00:00 2001 From: Gilad Suberr Date: Wed, 2 Dec 2020 16:41:46 +0200 Subject: [PATCH 12/14] Fixed indent --- .../preview/2020-08-04-preview/ResourceHealthAlertRules.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json index dc8da2bcebaf..0f36a2769c5d 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json @@ -524,7 +524,7 @@ }, "severity": { "type": "integer", - "format": "int64", + "format": "int64", "description": "Severity of alert fired" } }, From 969adfe939d31761aa51f82c1685d0274a243347 Mon Sep 17 00:00:00 2001 From: Gilad Suberr Date: Wed, 2 Dec 2020 16:47:20 +0200 Subject: [PATCH 13/14] Fix prettier --- .../examples/patchResourceHealthAlertRule.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json index 14bf03341539..4c80833897c5 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json @@ -14,7 +14,9 @@ "criteria": { "allOf": [ { - "monitorNames": [ "root" ], + "monitorNames": [ + "root" + ], "healthStates": [ { "name": "Critical", From 57353acabe705050aa258f0b0f1ee727a8c4ce65 Mon Sep 17 00:00:00 2001 From: Gilad Suberr Date: Wed, 2 Dec 2020 16:50:23 +0200 Subject: [PATCH 14/14] More prettier stuff --- .../2020-08-04-preview/ResourceHealthAlertRules.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json index 0f36a2769c5d..82b212290f05 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json @@ -487,7 +487,7 @@ }, "description": "Names of health monitor on which to define alert" }, - "monitorTypes": { + "monitorTypes": { "type": "array", "items": { "type": "string" @@ -503,7 +503,7 @@ } }, "required": [ - "healthStates" + "healthStates" ], "description": "Specifies the health alert criteria to alert on." }, @@ -513,9 +513,9 @@ "healthStateName": { "type": "string", "description": "Health state name", - "enum": [ + "enum": [ "Warning", - "Critical" + "Critical" ], "x-ms-enum": { "name": "HealthStateName", @@ -524,7 +524,7 @@ }, "severity": { "type": "integer", - "format": "int64", + "format": "int64", "description": "Severity of alert fired" } },