From d0f46b5a1e0b1e806a512fb55643858d6a85b4fc Mon Sep 17 00:00:00 2001 From: Or Argaman Date: Tue, 4 May 2021 11:27:45 +0300 Subject: [PATCH 1/4] Add 202 response to LinkedServices --- .../stable/2020-08-01/LinkedServices.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/LinkedServices.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/LinkedServices.json index 4312e9929293..b40df07ac0ae 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/LinkedServices.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/LinkedServices.json @@ -77,6 +77,9 @@ } ], "responses": { + "202": { + "description": "Accepted response definition." + }, "200": { "description": "OK response definition.", "schema": { From fcafd518011a6758b40c9d1e753729a5c9f43f35 Mon Sep 17 00:00:00 2001 From: Or Argaman Date: Tue, 4 May 2021 11:38:18 +0300 Subject: [PATCH 2/4] Add example --- .../stable/2020-08-01/examples/LinkedServicesCreate.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesCreate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesCreate.json index 8f7915890a23..5f740de7116a 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesCreate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesCreate.json @@ -12,6 +12,7 @@ "subscriptionId": "00000000-0000-0000-0000-00000000000" }, "responses": { + "202": {}, "200": { "body": { "properties": { From ee70e14b867ab4b356453d48e142a640c8356bf9 Mon Sep 17 00:00:00 2001 From: Or Argaman Date: Tue, 4 May 2021 12:11:52 +0300 Subject: [PATCH 3/4] Update Delete api as well --- .../stable/2020-08-01/LinkedServices.json | 3 +++ .../stable/2020-08-01/examples/LinkedServicesDelete.json | 3 +++ 2 files changed, 6 insertions(+) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/LinkedServices.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/LinkedServices.json index b40df07ac0ae..84b5f4b52c58 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/LinkedServices.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/LinkedServices.json @@ -134,6 +134,9 @@ "$ref": "#/definitions/LinkedService" } }, + "202": { + "description": "Accepted response definition." + }, "204": { "description": "NoContent response definition." } diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesDelete.json index d1a010ac07f8..b0ec4654a143 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesDelete.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesDelete.json @@ -7,6 +7,9 @@ "subscriptionId": "00000000-0000-0000-0000-00000000000" }, "responses": { + "202": { + "description": "Accepted response definition." + }, "200": { "body": { "properties": { From 23638a2a188ea8e003eda47420ac8dcaee587682 Mon Sep 17 00:00:00 2001 From: Or Argaman Date: Tue, 4 May 2021 12:13:17 +0300 Subject: [PATCH 4/4] Fix example + Add to cluster delete --- .../stable/2020-08-01/examples/LinkedServicesDelete.json | 4 +--- .../stable/2020-10-01/Clusters.json | 3 +++ .../stable/2020-10-01/examples/ClustersDelete.json | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesDelete.json index b0ec4654a143..a8928cda635c 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesDelete.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesDelete.json @@ -7,9 +7,7 @@ "subscriptionId": "00000000-0000-0000-0000-00000000000" }, "responses": { - "202": { - "description": "Accepted response definition." - }, + "202": {}, "200": { "body": { "properties": { diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Clusters.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Clusters.json index 4a2f3489e280..2f6f96c3f08b 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Clusters.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Clusters.json @@ -212,6 +212,9 @@ } ], "responses": { + "202": { + "description": "Accepted response definition." + }, "200": { "description": "OK response definition." }, diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/ClustersDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/ClustersDelete.json index 859ff3048e99..2bdd152922a4 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/ClustersDelete.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/ClustersDelete.json @@ -7,6 +7,7 @@ }, "responses": { "200": {}, + "202": {}, "204": {} } }