NSX-T Data Center REST API

FirstNSampling (type)

{
  "extends": {
    "$ref": "SamplingArgument
  }, 
  "id": "FirstNSampling", 
  "module_id": "LiveTrace", 
  "polymorphic-type-descriptor": {
    "type-identifier": "FirstNSampling"
  }, 
  "properties": {
    "match_number": {
      "maximum": 500, 
      "minimum": 1, 
      "required": true, 
      "title": "Number of packets to be sampled", 
      "type": "integer"
    }, 
    "sampling_type": {
      "enum": [
        "FirstNSampling", 
        "PacketNumberSampling", 
        "IntervalSampling"
      ], 
      "required": true, 
      "title": "Sampling type", 
      "type": "string"
    }
  }, 
  "type": "object"
}