NSX Autonomous Edge REST API

L2Extension (type)

{
  "description": "Configuration for extending L2 domain with L2VPN.", 
  "id": "L2Extension", 
  "properties": {
    "l2vpn_session_id": {
      "description": "L2VPN sessions identifier for L2 extension.", 
      "required": true, 
      "title": "L2VPN session ID", 
      "type": "string"
    }, 
    "l2vpn_session_name": {
      "description": "Display name of the given l2vpn session.", 
      "readOnly": true, 
      "required": false, 
      "title": "Display name of the given l2vpn session", 
      "type": "string"
    }, 
    "tunnel_id": {
      "description": "Tunnel ID to uniquely identify the L2 extension.", 
      "maximum": 4093, 
      "minimum": 1, 
      "required": true, 
      "title": "Tunnel ID", 
      "type": "integer"
    }
  }, 
  "title": "L2 Extension", 
  "type": "object"
}