NSX-T Data Center REST API

SessionActionRequestParameter (type)

{
  "additionalProperties": false, 
  "description": "Type of action on packet capture session. Supported actions are - restart, terminate and delete.", 
  "id": "SessionActionRequestParameter", 
  "module_id": "PolicyPacketCapture", 
  "properties": {
    "action": {
      "enum": [
        "restart", 
        "terminate"
      ], 
      "required": true, 
      "title": "Indicates which action will be taken by session conduction.", 
      "type": "string"
    }
  }, 
  "title": "Type of action on packet capture session", 
  "type": "object"
}