Skip to content

Commit 12c50c1

Browse files
committed
add patch
1 parent 9ac38e5 commit 12c50c1

File tree

2 files changed

+100
-0
lines changed

2 files changed

+100
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"parameters": {
3+
"expressRouteGatewayName": "expressRouteGatewayName",
4+
"resourceGroupName": "resourceGroupName",
5+
"api-version": "2020-06-01",
6+
"subscriptionId": "subid",
7+
"expressRouteGatewayParameters": {
8+
"tags": {
9+
"tag1": "value1",
10+
"tag2": "value2"
11+
}
12+
}
13+
},
14+
"responses": {
15+
"202": {},
16+
"200": {
17+
"body": {
18+
"name": "expressRouteGatewayName",
19+
"id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName",
20+
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
21+
"location": "westus",
22+
"type": "Microsoft.Network/expressRouteGateways",
23+
"tags": {
24+
"tag1": "value1",
25+
"tag2": "value2"
26+
},
27+
"properties": {
28+
"provisioningState": "Succeeded",
29+
"virtualHub": {
30+
"id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName"
31+
}
32+
}
33+
}
34+
}
35+
}
36+
}

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

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3781,6 +3781,70 @@
37813781
"final-state-via": "azure-async-operation"
37823782
}
37833783
},
3784+
"patch": {
3785+
"tags": [
3786+
"ExpressRouteGateways"
3787+
],
3788+
"operationId": "ExpressRouteGateways_UpdateTags",
3789+
"x-ms-examples": {
3790+
"ExpressRouteGatewayUpdate": {
3791+
"$ref": "./examples/ExpressRouteGatewayUpdateTags.json"
3792+
}
3793+
},
3794+
"description": "Updates express route gateway tags.",
3795+
"parameters": [
3796+
{
3797+
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
3798+
},
3799+
{
3800+
"name": "resourceGroupName",
3801+
"in": "path",
3802+
"required": true,
3803+
"type": "string",
3804+
"description": "The resource group name of the ExpressRouteGateway."
3805+
},
3806+
{
3807+
"name": "expressRouteGatewayName",
3808+
"in": "path",
3809+
"required": true,
3810+
"type": "string",
3811+
"description": "The name of the gateway."
3812+
},
3813+
{
3814+
"$ref": "./network.json#/parameters/ApiVersionParameter"
3815+
},
3816+
{
3817+
"name": "expressRouteGatewayParameters",
3818+
"in": "body",
3819+
"required": true,
3820+
"schema": {
3821+
"$ref": "./network.json#/definitions/TagsObject"
3822+
},
3823+
"description": "Parameters supplied to update a virtual wan express route gateway tags."
3824+
}
3825+
],
3826+
"responses": {
3827+
"202": {
3828+
"description": "Accepted and the operation will complete asynchronously."
3829+
},
3830+
"200": {
3831+
"description": "Request successful. Returns the details of the updated gateway.",
3832+
"schema": {
3833+
"$ref": "#/definitions/ExpressRouteGateway"
3834+
}
3835+
},
3836+
"default": {
3837+
"description": "Error response describing why the operation failed.",
3838+
"schema": {
3839+
"$ref": "./network.json#/definitions/CloudError"
3840+
}
3841+
}
3842+
},
3843+
"x-ms-long-running-operation": true,
3844+
"x-ms-long-running-operation-options": {
3845+
"final-state-via": "azure-async-operation"
3846+
}
3847+
},
37843848
"get": {
37853849
"tags": [
37863850
"ExpressRouteGateways"

0 commit comments

Comments
 (0)