Skip to content

Commit

Permalink
VPN gateway new API for Reset VPN client PSK (#3800)
Browse files Browse the repository at this point in the history
  • Loading branch information
henry416 authored and jianghaolu committed Sep 10, 2018
1 parent 0179f86 commit c34505c
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"api-version": "2018-08-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"virtualNetworkGatewayName" : "vpngw"
},
"responses" : {
"202" : { },
"200" : { }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,49 @@
"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey": {
"post": {
"tags": [
"VirtualNetworkGateways"
],
"operationId": "VirtualNetworkGateways_ResetVpnClientSharedKey",
"description": "Resets the VPN client shared key of the virtual network gateway in the specified resource group.",
"parameters": [
{
"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."
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Request successful. The operation reset the vpn client shared key of the virtual network gateway."
},
"202": {
"description": "Accepted and the operation will complete asynchronously"
}
},
"x-ms-examples": {
"ResetVpnClientSharedKey": { "$ref": "./examples/VirtualNetworkGatewayResetVpnClientSharedKey.json" }
},
"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": {
"post": {
"tags": [
Expand Down

0 comments on commit c34505c

Please sign in to comment.