Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add patch operation for express route gateway #11553

Merged
merged 2 commits into from
Nov 16, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
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-06-01",
lirenhe marked this conversation as resolved.
Show resolved Hide resolved
"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