NSX Autonomous Edge REST API

TransportTunnel (type)

{
  "additionalProperties": false,
  "description": "For client, L2VPN Session Transport Tunnel uses a peer code which has all the information to create the transport tunnel.",
  "id": "TransportTunnel",
  "properties": {
    "display_name": {
      "description": "Name for transport tunnel.",
      "required": false,
      "title": "Name for transport tunnel",
      "type": "string"
    },
    "ipsec_session_id": {
      "description": "Transport tunnel id. When service is in client mode, this is read only.",
      "required": false,
      "title": "Transport tunnel id",
      "type": "string"
    },
    "local_address": {
      "$ref": "IPv4Address",
      "description": "IPv4 Address of local endpoint. This is required when service is in client mode.",
      "required": false,
      "title": "IPv4 Address of local endpoint"
    },
    "peer_address": {
      "$ref": "IPv4Address",
      "description": "IPv4 Address of Peer endpoint on remote site. This is required when service is in client mode.",
      "required": false,
      "title": "IPv4 Address of Peer endpoint"
    },
    "peer_code": {
      "description": "Peer code represents a base64 encoded string which has all the configuration for tunnel. E.g. local/peer ids and protocol, encryption algorithm, etc. Peer code also contains PSK; be careful when sharing or storing it. This is required when service is in client mode.",
      "required": false,
      "sensitive": true,
      "title": "Peer code for the transport tunnel",
      "type": "string"
    }
  },
  "title": "L2VPN Session Transport Tunnel",
  "type": "object"
}