3.1.5.17.4.1.2.2 Response Body

The format for the networkConnections GET response body is as follows.

 {
    "resourceRef": "/VirtualGateways/VirtualGatewayTenant_1/NetworkConnections/VirtualGatewayTenant_1_IPSEC_1",
   "resourceId": "VirtualGatewayTenant_1_IPSEC_1",
   "etag": "W/\"8559fe48-df3e-4765-8515-e43151d93cfe\"",
 ae62a1d6-a1ea-48a7-a122-56db52d5e7ee\"",
   "instanceId": "a192d851-0849-4d88-a0d5-86647f1b9efc",
 827c5920-ce65-4175-a18f-6dfd84538a14",
   "properties": {
     "provisioningState": "Succeeded",
     "connectionType": "IPSec",
     "outboundKiloBitsPerSecond": 1000, 700000,
     "inboundKiloBitsPerSecond": 1000, 700000,
     "ipSecConfiguration": {
       "authenticationMethod": "PSK",
       "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.1.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",
     "connectionErrorReason": "0",
     "unreachabilityReason": "",
     "statistics": {
       "outboundBytes": 0,
       "inboundBytes": 0,
       "txTotalPacketsDropped": 0,
       "txRateKbps": 0,
       "rxRateKbps": 0,
       "txRateLimitedPacketsDropped": 0,
       "rxRateLimitedPacketsDropped": 0,
       "lastUpdated": "2016-02-19T10:48:49.9938698Z"
     },
     "configurationState": {
       "status": "Success",
       "lastUpdatedTime": "2016-02-19T02:48:49.3532316-08:00"
     },
     "sourceIPAddress": "91.1.1.4",
     "destinationIPAddress": "11.1.0.1",
     "routes": [
       {
         "destinationPrefix": "10.2.3.0/24",
         "nextHop":"0.0.0.0",
         "metric": 10,
         "protocol": "Static"
       }
     ],
     "connectionStatus": "Enabled", 
     "connectionState": "Disconnected", 
     "connectionUpTime": "00:00:00", 
     "connectionErrorReason": "809", 
     "unreachabilityReason": "ConnectionFailure",
     "statistics": {
      "outboundBytes": 0, 
      "inboundBytes": 0, 
      "rxTotalPacketsDropped": 0, 
      "txTotalPacketsDropped": 0, 
      "txRateKbps": 0, 
      "rxRateKbps": 0, 
      "txRateLimitedPacketsDropped": 0, 
      "rxRateLimitedPacketsDropped": 0, 
      "lastUpdated": "2016-01-14T08:26:37.8964269Z"
      },
        "gateway": {
          "resourceRef": "/Gateways/CloudGw1"CloudGW2"
         }
       }
     }
   }
 }

The JSON schema for the networkConnections GET method is contained within the VirtualGateways GET method schema in section 6.15.2.