From e35472e9a11ede408d3f1013f8dcec15141f8259 Mon Sep 17 00:00:00 2001 From: "MIDDLEEAST\\lienglender" Date: Tue, 23 May 2023 15:44:27 +0300 Subject: [PATCH 1/3] change api version to the proper api version --- .../stable/2019-03-01/AlertsManagement.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/AlertsManagement.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/AlertsManagement.json index f7d136716f7d..c1451086c5be 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/AlertsManagement.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/AlertsManagement.json @@ -395,7 +395,7 @@ "in": "query", "required": true, "enum": [ - "2018-05-05" + "2019-03-01" ], "x-ms-enum": { "name": "api-version", From 5e9ecb55b8086174a5985df02e2fe814e886f964 Mon Sep 17 00:00:00 2001 From: "MIDDLEEAST\\lienglender" Date: Sun, 28 May 2023 11:46:21 +0300 Subject: [PATCH 2/3] changed reference to common types api-version --- .../stable/2019-03-01/AlertsManagement.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/AlertsManagement.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/AlertsManagement.json index c1451086c5be..79e163cf96d7 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/AlertsManagement.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/AlertsManagement.json @@ -277,7 +277,7 @@ "$ref": "#/parameters/alertId" }, { - "$ref": "#/parameters/api-version" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { From be58f062947924073ee592db981a194da86cfd2c Mon Sep 17 00:00:00 2001 From: "MIDDLEEAST\\lienglender" Date: Mon, 5 Jun 2023 13:39:26 +0300 Subject: [PATCH 3/3] changed TargetTypeParameter to type method --- .../preview/2023-01-01-preview/AlertRuleRecommendations.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2023-01-01-preview/AlertRuleRecommendations.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2023-01-01-preview/AlertRuleRecommendations.json index e2d89cc492a9..490a7a9f57ae 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2023-01-01-preview/AlertRuleRecommendations.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2023-01-01-preview/AlertRuleRecommendations.json @@ -138,7 +138,7 @@ "required": true, "type": "string", "description": "The recommendations target type.", - "x-ms-parameter-location": "client" + "x-ms-parameter-location": "method" } }, "definitions": {