From be44f7142da65f2f01af4e282e82aec78bf61269 Mon Sep 17 00:00:00 2001 From: Henry Chen Date: Wed, 15 Aug 2018 11:47:58 -0700 Subject: [PATCH 1/3] Reset VPN Client shared key --- ...NetworkGatewayResetVpnClientSharedKey.json | 12 ++++++ .../2018-06-01/virtualNetworkGateway.json | 43 +++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json new file mode 100644 index 000000000000..453b4889ae9d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2018-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName" : "vpngw" + }, + "responses" : { + "202" : { }, + "200" : { } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json index 4e5f2bfd31cd..43aa275abf05 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json @@ -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": [ From fb70fd5547bd9d82379d82d5bb640285f9132e07 Mon Sep 17 00:00:00 2001 From: Henry Chen Date: Wed, 15 Aug 2018 12:59:17 -0700 Subject: [PATCH 2/3] typo --- .../stable/2018-06-01/virtualNetworkGateway.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json index 43aa275abf05..243ffc4ce80a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json @@ -393,7 +393,7 @@ ], "responses": { "200": { - "description": "Request successful. The operation reset the vpn client shared key of the virtual network gateway.", + "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" From aafca9c5d4b05246548aeb1b83ce0f1c96c1f635 Mon Sep 17 00:00:00 2001 From: Henry Chen Date: Mon, 20 Aug 2018 12:26:11 -0700 Subject: [PATCH 3/3] CR rename --- .../stable/2018-06-01/virtualNetworkGateway.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json index 243ffc4ce80a..611c1298e30d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json @@ -367,7 +367,7 @@ "tags": [ "VirtualNetworkGateways" ], - "operationId": "VirtualNetworkGateways_Resetvpnclientsharedkey", + "operationId": "VirtualNetworkGateways_ResetVpnClientSharedKey", "description": "Resets the VPN client shared key of the virtual network gateway in the specified resource group.", "parameters": [ {