Skip to content

Commit 1dfce8a

Browse files
authored
Async PATCH operations for Virtual WAN VpnGateways and P2SVpnGateways (#9833)
1 parent af720fd commit 1dfce8a

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/P2SVpnGatewayUpdateTags.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
}
1313
},
1414
"responses": {
15+
"202": {},
1516
"200": {
1617
"body": {
1718
"name": "p2sVpnGateway1",

specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/VpnGatewayUpdateTags.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
}
1313
},
1414
"responses": {
15+
"202": {},
1516
"200": {
1617
"body": {
1718
"name": "gateway1",

specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/virtualWan.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1828,6 +1828,9 @@
18281828
}
18291829
],
18301830
"responses": {
1831+
"202": {
1832+
"description": "Accepted and the operation will complete asynchronously."
1833+
},
18311834
"200": {
18321835
"description": "Request successful. Returns the details of the updated gateway.",
18331836
"schema": {
@@ -1840,6 +1843,10 @@
18401843
"$ref": "./network.json#/definitions/CloudError"
18411844
}
18421845
}
1846+
},
1847+
"x-ms-long-running-operation": true,
1848+
"x-ms-long-running-operation-options": {
1849+
"final-state-via": "azure-async-operation"
18431850
}
18441851
},
18451852
"delete": {
@@ -2536,6 +2543,9 @@
25362543
}
25372544
],
25382545
"responses": {
2546+
"202": {
2547+
"description": "Accepted and the operation will complete asynchronously."
2548+
},
25392549
"200": {
25402550
"description": "Request successful. Returns the details of the updated gateway.",
25412551
"schema": {
@@ -2548,6 +2558,10 @@
25482558
"$ref": "./network.json#/definitions/CloudError"
25492559
}
25502560
}
2561+
},
2562+
"x-ms-long-running-operation": true,
2563+
"x-ms-long-running-operation-options": {
2564+
"final-state-via": "azure-async-operation"
25512565
}
25522566
},
25532567
"delete": {

0 commit comments

Comments
 (0)