NSX-T Data Center REST API

PolicyNatRuleStatistics (type)

{
  "additionalProperties": false,
  "description": "Provides the following statistics for a NAT rule:  - Current number of active traffic sessions matching the NAT rule. - Total number of bytes processed on the NAT rule since the time the rule   was created. - Total number of packets processed on the NAT rule since the time the rule   was created. - Any warning message about NAT rule statistics.",
  "extends": {
    "$ref": "PolicyNATRuleCounters"
  },
  "id": "PolicyNatRuleStatistics",
  "module_id": "PolicyNAT",
  "properties": {
    "active_sessions": {
      "description": "Provides the current number of active traffic sessions matching the NAT rules.",
      "readonly": true,
      "title": "Active sessions",
      "type": "integer"
    },
    "last_update_timestamp": {
      "$ref": "EpochMsTimestamp",
      "description": "Timestamp when the data was last updated.",
      "readonly": true,
      "title": "Last update timestamp"
    },
    "total_bytes": {
      "description": "Provides the total number of bytes processed on the NAT rules since the time the rules were created.",
      "readonly": true,
      "title": "Total bytes",
      "type": "integer"
    },
    "total_packets": {
      "description": "Provides the total number of packets processed on the NAT rules since the time the rules were created.",
      "readonly": true,
      "title": "Total packets",
      "type": "integer"
    },
    "warning_message": {
      "description": "The warning message about the NAT Rule Statistics.",
      "readonly": true,
      "title": "Warning Message",
      "type": "string"
    }
  },
  "title": "NAT rule statistics",
  "type": "object"
}