NSX Autonomous Edge REST API

L2VPNSessionStatistics (type)

{
  "description": "L2VPN session statistics.", 
  "id": "L2VPNSessionStatistics", 
  "properties": {
    "display_name": {
      "description": "Display name of L2VPN session.", 
      "readonly": true, 
      "title": "Display name", 
      "type": "string"
    }, 
    "l2vpn_session_id": {
      "description": "UUID of L2VPN session.", 
      "readonly": true, 
      "title": "Session identifier", 
      "type": "string"
    }, 
    "reference_count": {
      "description": "Number of logical ports that are referencing the L2VPN session.", 
      "readonly": true, 
      "title": "Number of references to L2VPN session", 
      "type": "integer"
    }, 
    "session_status": {
      "description": "L2VPN session status. It can be UP and DOWN.", 
      "enum": [
        "UP", 
        "DOWN"
      ], 
      "readonly": true, 
      "title": "L2VPN session status", 
      "type": "string"
    }, 
    "traffic_counter": {
      "$ref": "L2VPNTrafficStatistics, 
      "description": "Traffic counter through the L2VPN session.", 
      "readonly": true, 
      "title": "Traffic counter"
    }, 
    "transport_tunnels": {
      "description": "List of transport tunnels.", 
      "items": {
        "$ref": "TransportTunnel
      }, 
      "readonly": true, 
      "title": "List of transport tunnels", 
      "type": "array"
    }
  }, 
  "title": "L2VPN session statistics", 
  "type": "object"
}