InlinePortMirroringSession1
{
"direction": "string",
"encapsulation_vlan_id": 0,
"mirror_destination": {
"resource_type": "string"
},
"mirror_sources": [
"MirrorSource Object"
],
"port_mirroring_filters": [
"PortMirroringFilter Object"
],
"preserve_original_vlan": false,
"session_type": "string",
"snap_length": 0,
"tcp_ip_stack": "string"
}
Port mirroring session direction
Only for Remote SPAN Port Mirror.
An array of 5-tuples used to filter packets for the mirror session, if not provided, all the packets will be mirrored.
Only for Remote SPAN Port Mirror. Whether to preserve original VLAN.
If this property is unset, this session will be treated as LocalPortMirrorSession.
If this property is set, the packet will be truncated to the provided length. If this property is unset, entire packet will be mirrored.
If set to mirror, mirror packet will be sent via dedicated mirror stack to destination; If set to default, mirror packet will be sent via default stack; So far, the value mirror can only be chosen in L3PortMirrorSession.