NSX-T Data Center REST API

L2VpnSessionPeerCodes (type)

{
  "additionalProperties": false,
  "description": "Get the peer_code for each tunnel to paste on the remote end of the tunnel. Currently only stand-along/unmanaged edge is supported on the remote end of the tunnel.",
  "id": "L2VpnSessionPeerCodes",
  "module_id": "L2VPN",
  "properties": {
    "peer_codes": {
      "description": "List of peer codes per transport tunnel.",
      "items": {
        "$ref": "L2VpnTunnelPeerCode"
      },
      "maxItems": 1,
      "minItems": 1,
      "required": true,
      "title": "List of peer codes",
      "type": "array"
    }
  },
  "title": "Peer code to configure the other side of the tunnel",
  "type": "object"
}