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

Support for ResetConnection for VNG and VPN Link connections #12677

Closed
wants to merge 5 commits into from
Closed
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
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1453,6 +1453,7 @@ Reregister
Rescan
reservationorders
resetapikey
resetconnection
resetvpnclientsharedkey
Resolvability
resourcegraph
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"parameters": {
"api-version": "2020-08-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"virtualNetworkGatewayConnectionName": "conn1"
},
"responses": {
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"api-version": "2020-08-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"gatewayName": "gateway1",
"connectionName": "vpnConnection1",
"linkConnectionName": "Connection-Link1"
},
"responses": {
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1882,6 +1882,57 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/resetconnection": {
"post": {
"tags": [
"VirtualNetworkGatewayConnections"
],
"operationId": "VirtualNetworkGatewayConnections_ResetConnection",
"description": "Resets the virtual network gateway connection specified.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "virtualNetworkGatewayConnectionName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the virtual network gateway Connection."
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"202": {
"description": "Accepted and the operation will complete asynchronously."
},
"default": {
"description": "The operation resetconnection could not be completed.",
"schema": {
"$ref": "./networkWatcher.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"ResetVirtualNetworkGatewayConnection": {
"$ref": "./examples/VirtualNetworkGatewayConnectionReset.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": {
"put": {
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2094,6 +2094,71 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/resetconnection": {
"post": {
"tags": [
"vpnLinkConnections"
],
"operationId": "VpnLinkConnections_ResetConnection",
"description": "Resets the VpnLink connection specified.",
"parameters": [
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "gatewayName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the gateway."
},
{
"name": "connectionName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the vpn connection."
},
{
"name": "linkConnectionName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the vpn link connection."
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"202": {
"description": "Accepted and the operation ResetConnection will complete asynchronously."
},
"default": {
"description": "The operation ResetConnection could not be completed.",
"schema": {
"$ref": "./networkWatcher.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"ResetVpnLinkConnection": {
"$ref": "./examples/VpnSiteLinkConnectionReset.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways": {
"get": {
"operationId": "VpnGateways_ListByResourceGroup",
Expand Down