NSX-T Data Center REST API

LogicalSwitchMirrorSource (type)

{
  "extends": {
    "$ref": "MirrorSource"
  },
  "id": "LogicalSwitchMirrorSource",
  "module_id": "PortMirroring",
  "polymorphic-type-descriptor": {
    "type-identifier": "LogicalSwitchMirrorSource"
  },
  "properties": {
    "resource_type": {
      "$ref": "MirrorSourceResourceType",
      "help_summary": "Possible values are 'LogicalPortMirrorSource', 'PnicMirrorSource'",
      "required": true
    },
    "switch_id": {
      "description": "Please note as logical port attached with vmk interface is unsupported as mirror source, traffic from those ports on source logical switch will not be mirrored.",
      "required": true,
      "title": "Source logical switch identifier",
      "type": "string"
    }
  },
  "type": "object"
}