3.1.5.17.4.1.1.1 Request Body
The format for the request body for the networkConnections PUT method is as follows.
-
{ "resourceRef": "/VirtualGateways/VirtualGatewayTenant_1/NetworkConnections/VirtualGatewayTenant_1_IPSEC_1", "resourceId": "VirtualGatewayTenant_1_IPSEC_1", "properties": { "connectionType": "IPSec", "outboundKiloBitsPerSecond": 1000700000, "inboundKiloBitsPerSecond": 1000700000, "ipSecConfiguration": { "authenticationMethod": "PSK", "SharedSecret": "123abc", "quickMode": { "perfectForwardSecrecy": "PFS2048", "cipherTransformationConstant": "DES3", "authenticationTransformationConstant": "SHA256128", "idleDisconnectSeconds": 500, "saLifeTimeSeconds": 1233, "saLifeTimeKiloBytes": 2000 }, "mainMode": { "diffieHellmanGroup": "Group2", "encryptionAlgorithm": "AES256", "integrityAlgorithm": "SHA256", "saLifeTimeSeconds": 1234, "saLifeTimeKiloBytes": 2000 }, "localVpnTrafficSelector": [ { "type": "IPv4", "protocolId": 0, "portStart": 0, "portEnd": 65535, "ipAddressStart": "0.0.0.0", "ipAddressEnd": "255.255.255.255", "tsPayloadId": 0 } ], "remoteVpnTrafficSelector": [ { "type": "IPv4", "protocolId": 0, "portStart": 0, "portEnd": 65535, "ipAddressStart": "0.0.0.0", "ipAddressEnd": "255.255.255.255", "tsPayloadId": 0 } ] }, "l3Configuration": {}, "ipAddresses": [], "peerIPAddresses": [], "routes": [ { "destinationPrefix": "50.1.110.2.3.0/24", "nextHop": "0.0.0.0", "metric": 10, "protocol": "Static" }, { "destinationPrefix": "40.1.1.4/32", "nextHop": "0.0.0.0", "metric": 10, "protocol": "Static" } ], "connectionStatus": "Enabled", "destinationIPAddress": "11.1.0.1", } }
The JSON schema for the networkConnections PUT method is contained within the VirtualGateways PUT method schema in section 6.15.1.