From a4b1b6741b185ea46109fb4e419d7c3a68773008 Mon Sep 17 00:00:00 2001 From: ritwikbasu Date: Fri, 12 Jun 2020 14:48:14 -0700 Subject: [PATCH] Async PATCH operations for Virtual WAN VpnGateways and P2SVpnGateways --- .../examples/P2SVpnGatewayUpdateTags.json | 1 + .../2020-06-01/examples/VpnGatewayUpdateTags.json | 1 + .../stable/2020-06-01/virtualWan.json | 14 ++++++++++++++ 3 files changed, 16 insertions(+) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/P2SVpnGatewayUpdateTags.json index 5089eeaa7a3f..db2ff1029106 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/P2SVpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/P2SVpnGatewayUpdateTags.json @@ -12,6 +12,7 @@ } }, "responses": { + "202": {}, "200": { "body": { "name": "p2sVpnGateway1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/VpnGatewayUpdateTags.json index 2934c32a1cc4..2d3e0e4f793f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/VpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/VpnGatewayUpdateTags.json @@ -12,6 +12,7 @@ } }, "responses": { + "202": {}, "200": { "body": { "name": "gateway1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/virtualWan.json index 4bbd610fac48..479c71c6442b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/virtualWan.json @@ -1828,6 +1828,9 @@ } ], "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, "200": { "description": "Request successful. Returns the details of the updated gateway.", "schema": { @@ -1840,6 +1843,10 @@ "$ref": "./network.json#/definitions/CloudError" } } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" } }, "delete": { @@ -2536,6 +2543,9 @@ } ], "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, "200": { "description": "Request successful. Returns the details of the updated gateway.", "schema": { @@ -2548,6 +2558,10 @@ "$ref": "./network.json#/definitions/CloudError" } } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" } }, "delete": {