From 7d252854e81f353b1f8a5e9eb2a68dc2110b65ed Mon Sep 17 00:00:00 2001 From: vikotha Date: Fri, 7 Apr 2023 10:44:43 +0530 Subject: [PATCH 1/2] Fix link error for Datadog RP --- .../stable/2021-03-01/examples/Monitors_Delete.json | 6 +++++- .../stable/2022-06-01/examples/Monitors_Delete.json | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_Delete.json b/specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_Delete.json index dc0e9e0e9aee..64eaa3305cc1 100644 --- a/specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_Delete.json +++ b/specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_Delete.json @@ -7,7 +7,11 @@ }, "responses": { "200": {}, - "202": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Datadog/monitors/test?api-version=2022-09-01" + } + }, "204": {} } } diff --git a/specification/datadog/resource-manager/Microsoft.Datadog/stable/2022-06-01/examples/Monitors_Delete.json b/specification/datadog/resource-manager/Microsoft.Datadog/stable/2022-06-01/examples/Monitors_Delete.json index b8a774a7cd15..f7056febf38b 100644 --- a/specification/datadog/resource-manager/Microsoft.Datadog/stable/2022-06-01/examples/Monitors_Delete.json +++ b/specification/datadog/resource-manager/Microsoft.Datadog/stable/2022-06-01/examples/Monitors_Delete.json @@ -7,7 +7,11 @@ }, "responses": { "200": {}, - "202": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Datadog/monitors/test?api-version=2022-09-01" + } + }, "204": {} } } From b73f69d25e9f91e5ae428ec41fef6a7e11e3dd9a Mon Sep 17 00:00:00 2001 From: vikotha Date: Fri, 7 Apr 2023 13:47:39 +0530 Subject: [PATCH 2/2] Fix version --- .../stable/2021-03-01/examples/Monitors_Delete.json | 2 +- .../stable/2022-06-01/examples/Monitors_Delete.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_Delete.json b/specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_Delete.json index 64eaa3305cc1..f499577c6071 100644 --- a/specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_Delete.json +++ b/specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_Delete.json @@ -9,7 +9,7 @@ "200": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Datadog/monitors/test?api-version=2022-09-01" + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Datadog/monitors/test?api-version=2021-03-01" } }, "204": {} diff --git a/specification/datadog/resource-manager/Microsoft.Datadog/stable/2022-06-01/examples/Monitors_Delete.json b/specification/datadog/resource-manager/Microsoft.Datadog/stable/2022-06-01/examples/Monitors_Delete.json index f7056febf38b..03d44f1d64ec 100644 --- a/specification/datadog/resource-manager/Microsoft.Datadog/stable/2022-06-01/examples/Monitors_Delete.json +++ b/specification/datadog/resource-manager/Microsoft.Datadog/stable/2022-06-01/examples/Monitors_Delete.json @@ -9,7 +9,7 @@ "200": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Datadog/monitors/test?api-version=2022-09-01" + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Datadog/monitors/test?api-version=2022-06-01" } }, "204": {}