NSX-T Data Center REST API

PolicyCountObservation (type)

{
  "additionalProperties": false, 
  "extends": {
    "$ref": "BaseCountObservation
  }, 
  "id": "PolicyCountObservation", 
  "module_id": "PolicyConnectivity", 
  "polymorphic-type-descriptor": {
    "type-identifier": "PolicyCountObservation"
  }, 
  "properties": {
    "checkpoints": {
      "$ref": "CheckpointCounterResult, 
      "description": "The count result from checkpoints associated with this port", 
      "readonly": true, 
      "required": false, 
      "title": "Count result from checkpoints associated with this port"
    }, 
    "logical_port_path": {
      "readonly": true, 
      "required": false, 
      "title": "The path of segment port or router port where the counter observation is populated", 
      "type": "string"
    }, 
    "port_id": {
      "description": "The port identifier in UUID format. This field won't appear together with port_name.", 
      "readonly": true, 
      "required": false, 
      "title": "Port ID", 
      "type": "string"
    }, 
    "port_name": {
      "description": "The port name for a port. It applies to ports like the uplink port. This field won't appear together with port_id.", 
      "readonly": true, 
      "required": false, 
      "title": "Port Name", 
      "type": "string"
    }, 
    "resource_type": {
      "required": true, 
      "title": "Type of count observation", 
      "type": "string"
    }, 
    "transport_node_id": {
      "description": "This field tells which transport node the checkpoints are reported from.", 
      "readonly": true, 
      "required": false, 
      "title": "Transport node ID", 
      "type": "string"
    }
  }, 
  "type": "object"
}