NSX-T Data Center REST API

L2VPNSessionTransportTunnelPeerCode (type)

{
  "additionalProperties": false,
  "description": "L2VPN transport tunnel peer code.",
  "id": "L2VPNSessionTransportTunnelPeerCode",
  "module_id": "PolicyVpnLayer2VPN",
  "properties": {
    "peer_code": {
      "description": "Peer code represents a base64 encoded string which has all the configuration for tunnel. E.g local/peer ips and protocol, encryption algorithm, etc. Peer code also contains PSK; be careful when sharing or storing it.",
      "readonly": true,
      "title": "Peer code for the transport tunnel",
      "type": "string"
    },
    "transport_tunnel_path": {
      "readonly": true,
      "title": "Policy Path referencing the transport tunnel.",
      "type": "string"
    }
  },
  "title": "L2VPN Transport Tunnel Peer Code",
  "type": "object"
}