Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"expressRouteGatewayName": "expressRouteGatewayName",
"resourceGroupName": "resourceGroupName",
"api-version": "2020-08-01",
"subscriptionId": "subid",
"expressRouteGatewayParameters": {
"tags": {
"tag1": "value1",
"tag2": "value2"
}
}
},
"responses": {
"202": {},
"200": {
"body": {
"name": "expressRouteGatewayName",
"id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName",
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"location": "westus",
"type": "Microsoft.Network/expressRouteGateways",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"properties": {
"provisioningState": "Succeeded",
"virtualHub": {
"id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3781,6 +3781,70 @@
"final-state-via": "azure-async-operation"
}
},
"patch": {
"tags": [
"ExpressRouteGateways"
],
"operationId": "ExpressRouteGateways_UpdateTags",
"x-ms-examples": {
"ExpressRouteGatewayUpdate": {
"$ref": "./examples/ExpressRouteGatewayUpdateTags.json"
}
},
"description": "Updates express route gateway tags.",
"parameters": [
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The resource group name of the ExpressRouteGateway."
},
{
"name": "expressRouteGatewayName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the gateway."
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"name": "expressRouteGatewayParameters",
"in": "body",
"required": true,
"schema": {
"$ref": "./network.json#/definitions/TagsObject"
},
"description": "Parameters supplied to update a virtual wan express route gateway tags."
}
],
"responses": {
"202": {
"description": "Accepted and the operation will complete asynchronously."
},
"200": {
"description": "Request successful. Returns the details of the updated gateway.",
"schema": {
"$ref": "#/definitions/ExpressRouteGateway"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./network.json#/definitions/CloudError"
}
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
}
},
"get": {
"tags": [
"ExpressRouteGateways"
Expand Down