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,18 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "p2s-vpn-gateway-test",
"p2sVpnGatewayName": "p2svpngateway",
"api-version": "2019-11-01",
"request": {
"vpnConnectionIds": [
"vpnconnId1",
"vpnconnId2"
]
}
},
"responses": {
"200": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "vpn-gateway-test",
"virtualNetworkGatewayName": "vpngateway",
"api-version": "2019-11-01",
"request": {
"vpnConnectionIds": [
"vpnconnId1",
"vpnconnId2"
]
}
},
"responses": {
"200": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2160,6 +2160,69 @@
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/disconnectVirtualNetworkGatewayVpnConnections": {
"post": {
"tags": [
"VirtualNetworkGateways"
],
"operationId": "VirtualNetworkGateways_DisconnectVirtualNetworkGatewayVpnConnections",
"description": "Disconnect vpn connections of virtual network gateway in the specified resource group.",
"parameters": [
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "virtualNetworkGatewayName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the virtual network gateway."
},
{
"name": "request",
"in": "body",
"required": true,
"schema": {
"$ref": "./virtualWan.json#/definitions/P2SVpnConnectionRequest"
},
"description": "The parameters are supplied to disconnect vpn connections."
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Request successful. The operation disconnects the requested vpn connections."
},
"202": {
"description": "Accepted and the operation will complete asynchronously."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./network.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"Disconnect VpnConnections from Virtual Network Gateway": {
"$ref": "./examples/VirtualNetworkGatewaysDisconnectP2sVpnConnections.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
}
},
"definitions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3091,6 +3091,69 @@
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections": {
"post": {
"tags": [
"P2SVpnGateways"
],
"operationId": "P2sVpnGateways_DisconnectP2sVpnConnections",
"description": "Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group.",
"parameters": [
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "p2sVpnGatewayName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the P2S Vpn Gateway."
},
{
"name": "request",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/P2SVpnConnectionRequest"
},
"description": "The parameters are supplied to disconnect p2s vpn connections."
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Request successful. The operation disconnects the requested vpn connections."
},
"202": {
"description": "Accepted and the operation will complete asynchronously."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./network.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"Disconnect VpnConnections from P2sVpn Gateway": {
"$ref": "./examples/P2sVpnGatewaysDisconnectP2sVpnConnections.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
}
},
"definitions": {
Expand Down Expand Up @@ -4524,6 +4587,18 @@
"description": "URL to get the next set of operation list results if there are any."
}
}
},
"P2SVpnConnectionRequest": {
"description": "List of p2s vpn connections to be disconnected.",
"properties": {
"vpnConnectionIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of p2s vpn connection Ids."
}
}
}
}
}