NSX-T Data Center REST API

PolicyPktCapResource (type)

{
  "additionalProperties": false,
  "extends": {
    "$ref": "PktCapResource"
  },
  "id": "PolicyPktCapResource",
  "module_id": "PolicyConnectivity",
  "polymorphic-type-descriptor": {
    "type-identifier": "PolicyPktCapResource"
  },
  "properties": {
    "logical_port_path": {
      "readonly": true,
      "required": false,
      "title": "The path of segment port or router port where the packets are captured",
      "type": "string"
    },
    "pktcap_file_download_url": {
      "readonly": true,
      "required": true,
      "title": "Packet capture file download URL",
      "type": "string"
    },
    "port_id": {
      "readonly": true,
      "required": true,
      "title": "The ID of logical port where packet capture action is performed",
      "type": "string"
    },
    "resource_type": {
      "required": true,
      "title": "Type of packet capture resource",
      "type": "string"
    }
  },
  "type": "object"
}