3.1.5.17.2.2.1.3.2 Response Body

The format for the response body for the bgpPeers GET ALL method is as follows.

 {
   "value": [
     {
       "resourceRef": "/VirtualGateways/VirtualGateway_1/BgpRouters/router1/BgpPeers/Peer1",
       "resourceId": "Peer1",
       "etag": "W/\"6b3cec3d-d04b-4e4b-828b-355cd29d7ece\"",
       "instanceId": "6f6a0c77-3830-4884-9b22-833f58f13e02",
       "properties": {
         "provisioningState": "Succeeded",
         "asNumber": "1236",
         "extAsNumber": "0.1236",
         "peerIpAddress": "40.1.1.4",
         "connectionState": "Disconnected",
         "statistics": {
           "tcpConnectionClosed": "2016-06-15T22:11:33.395-07:00",
           "openMessageStats": {
             "sentCount": 0,
             "receivedCount": 0
           },
           "notificationMessageStats": {
             "sentCount": 0,
             "receivedCount": 0
           },
           "keepAliveMessageStats": {
             "sentCount": 0,
             "receivedCount": 0
           },
           "routeRefreshMessageStats": {
             "sentCount": 0,
             "receivedCount": 0
           },
           "updateMessageStats": {
             "sentCount": 0,
             "receivedCount": 0
           },
           "ipv4Route": {
             "updateSentCount": 0,
             "updateReceivedCount": 0,
             "withdrawlSentCount": 0,
             "withdrawlReceivedCount": 0
           },
           "ipv6Route": {
             "updateSentCount": 0,
             "updateReceivedCount": 0,
             "withdrawlSentCount": 0,
             "withdrawlReceivedCount": 0
           },
           "lastUpdated": "2016-06-16T05:11:39.7306466Z"
         },
         "isGenerated": false
       }
     },
     {
       "resourceRef": "/VirtualGateways/VirtualGateway_1/BgpRouters/router1/BgpPeers/Peer2",
       "resourceId": "Peer2",
       "etag": "W/\"6b3cec3d-d04b-4e4b-828b-355cd29d7ece\"",
       "instanceId": "6dfc12fb-484a-4771-98f9-6c1d4ffbaa1a",
       "properties": {
         "provisioningState": "Succeeded",
         "asNumber": "1236",
         "extAsNumber": "0.1236",
         "peerIpAddress": "40.1.2.4",
         "connectionState": "Disconnected",
         "statistics": {
           "tcpConnectionClosed": "2016-06-15T22:11:33.41-07:00",
           "openMessageStats": {
             "sentCount": 0,
             "receivedCount": 0
           },
           "notificationMessageStats": {
             "sentCount": 0,
             "receivedCount": 0
           },
           "keepAliveMessageStats": {
             "sentCount": 0,
             "receivedCount": 0
           },
           "routeRefreshMessageStats": {
             "sentCount": 0,
             "receivedCount": 0
           },
           "updateMessageStats": {
             "sentCount": 0,
             "receivedCount": 0
           },
           "ipv4Route": {
             "updateSentCount": 0,
             "updateReceivedCount": 0,
             "withdrawlSentCount": 0,
             "withdrawlReceivedCount": 0
           },
           "ipv6Route": {
             "updateSentCount": 0,
             "updateReceivedCount": 0,
             "withdrawlSentCount": 0,
             "withdrawlReceivedCount": 0
           },
           "lastUpdated": "2016-06-16T05:11:39.7306466Z"
         },
         "isGenerated": false
       }
     },
     {
       "resourceRef": "/VirtualGateways/VirtualGateway_1/BgpRouters/router1/BgpPeers/Peer3",
       "resourceId": "Peer3",
       "etag": "W/\"6b3cec3d-d04b-4e4b-828b-355cd29d7ece\"",
       "instanceId": "d6bc7e33-4ac9-4f74-a3f2-81c39eb2a85d",
       "properties": {
         "provisioningState": "Succeeded",
         "asNumber": "1236",
         "extAsNumber": "0.1236",
         "peerIpAddress": "40.1.3.4",
         "connectionState": "Disconnected",
         "statistics": {
           "tcpConnectionClosed": "2016-06-15T22:11:33.425-07:00",
           "openMessageStats": {
             "sentCount": 0,
             "receivedCount": 0
           },
           "notificationMessageStats": {
             "sentCount": 0,
             "receivedCount": 0
           },
           "keepAliveMessageStats": {
             "sentCount": 0,
             "receivedCount": 0
           },
           "routeRefreshMessageStats": {
             "sentCount": 0,
             "receivedCount": 0
           },
           "updateMessageStats": {
             "sentCount": 0,
             "receivedCount": 0
           },
           "ipv4Route": {
             "updateSentCount": 0,
             "updateReceivedCount": 0,
             "withdrawlSentCount": 0,
             "withdrawlReceivedCount": 0
           },
           "ipv6Route": {
             "updateSentCount": 0,
             "updateReceivedCount": 0,
             "withdrawlSentCount": 0,
             "withdrawlReceivedCount": 0
           },
           "lastUpdated": "2016-06-16T05:11:39.7306466Z"
         },
         "isGenerated": false
       }
     }
   ],
   "nextLink": ""
 }

The JSON schema for the bgpPeers GET ALL method is located in section 6.15.4.4.3.