NSX-T Data Center REST API

LogicalPortStatistics (type)

{
  "extends": {
    "$ref": "AggregatedDataCounterEx"
  },
  "id": "LogicalPortStatistics",
  "module_id": "AggSvcLogicalPort",
  "properties": {
    "distributed_dhcp_server_packets": {
      "$ref": "DistributedDhcpServerPackets",
      "readonly": true,
      "required": false
    },
    "dropped_by_firewall_packets": {
      "$ref": "DfwDropCounters",
      "readonly": true,
      "required": false
    },
    "dropped_by_security_packets": {
      "$ref": "PacketsDroppedBySecurity",
      "readonly": true,
      "required": false
    },
    "last_update_timestamp": {
      "$ref": "EpochMsTimestamp",
      "description": "Timestamp when the data was last updated; unset if data source has never updated the data.",
      "readonly": true
    },
    "logical_port_id": {
      "readonly": true,
      "required": true,
      "title": "The id of the logical port",
      "type": "string"
    },
    "mac_learning": {
      "$ref": "MacLearningCounters",
      "readonly": true,
      "required": false
    },
    "rx_bytes": {
      "$ref": "DataCounter",
      "readonly": true,
      "required": false
    },
    "rx_packets": {
      "$ref": "DataCounter",
      "readonly": true,
      "required": false
    },
    "tx_bytes": {
      "$ref": "DataCounter",
      "readonly": true,
      "required": false
    },
    "tx_packets": {
      "$ref": "DataCounter",
      "readonly": true,
      "required": false
    }
  },
  "type": "object"
}