From 35adc5e493c20a57e6e2cb35d87c578133d2b7a6 Mon Sep 17 00:00:00 2001 From: Travis Prescott Date: Wed, 23 May 2018 12:56:55 -0700 Subject: [PATCH 1/2] [Monitor] Deconflict "Action" name in MetricAlert Generates bad SDK. --- .../microsoft.insights/stable/2018-03-01/metricAlert_API.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/monitor/resource-manager/microsoft.insights/stable/2018-03-01/metricAlert_API.json b/specification/monitor/resource-manager/microsoft.insights/stable/2018-03-01/metricAlert_API.json index e337cfdd715a..c6b397f96c1b 100644 --- a/specification/monitor/resource-manager/microsoft.insights/stable/2018-03-01/metricAlert_API.json +++ b/specification/monitor/resource-manager/microsoft.insights/stable/2018-03-01/metricAlert_API.json @@ -597,7 +597,7 @@ "x-ms-azure-resource": true, "description": "An azure resource object" }, - "Action": { + "MetricAlertAction": { "description": "An alert action.", "properties": { "actionGroupId": { From ebfaf0bdd7f2bcf736598d8ec501f490a83d1268 Mon Sep 17 00:00:00 2001 From: Travis Prescott Date: Wed, 23 May 2018 14:03:54 -0700 Subject: [PATCH 2/2] Update reference to MetricAlertAction --- .../microsoft.insights/stable/2018-03-01/metricAlert_API.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/monitor/resource-manager/microsoft.insights/stable/2018-03-01/metricAlert_API.json b/specification/monitor/resource-manager/microsoft.insights/stable/2018-03-01/metricAlert_API.json index c6b397f96c1b..01accc33987d 100644 --- a/specification/monitor/resource-manager/microsoft.insights/stable/2018-03-01/metricAlert_API.json +++ b/specification/monitor/resource-manager/microsoft.insights/stable/2018-03-01/metricAlert_API.json @@ -663,7 +663,7 @@ "actions": { "type": "array", "items": { - "$ref": "#/definitions/Action" + "$ref": "#/definitions/MetricAlertAction" }, "description": "the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved." },