List Port Mirroring Session
List all mirror sessions
This api is now deprecated. Depending on source of port mirroring, use the following apis -
Tier-1 Segment: /infra/tier-1s/<tier-1-id>/segments/<segment-id>/segment-monitoring-profile-binding-maps
Tier-1 Segment Port: /infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>/port-monitoring-profile-binding-maps
Group: /infra/domains/<domain-id>/groups/<group-id>/group-monitoring-profile-binding-maps
Infra Segment: /infra/segments/<infra-segment-id>/segment-monitoring-profile-binding-maps
Infra Segment Port: /infra/segments/<infra-segment-id>/ports/<infra-port-id>/port-monitoring-profile-binding-maps
Opaque cursor to be used for getting next page of records (supplied by current result page)
Comma separated list of fields that should be included in query result
Maximum number of results to return in this page (server may return fewer)
sort_ascending
Field by which records are sorted
OK
{
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"_self": {},
"cursor": "string",
"result_count": 0,
"sort_ascending": false,
"sort_by": "string",
"results": [
{
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"_self": {},
"_revision": 0,
"_create_time": 0,
"_create_user": "string",
"_last_modified_time": 0,
"_last_modified_user": "string",
"_protection": "string",
"_system_owned": false,
"description": "string",
"display_name": "string",
"id": "string",
"resource_type": "string",
"tags": [
{
"scope": "string",
"tag": "string"
}
],
"direction": "string",
"encapsulation_vlan_id": 0,
"mirror_destination": {
"resource_type": "string"
},
"mirror_sources": [
{
"resource_type": "string"
}
],
"port_mirroring_filters": [
{
"dst_ips": {
"ip_addresses": [
"string"
]
},
"dst_ports": "string",
"filter_action": "string",
"ip_protocol": "string",
"src_ips": {
"ip_addresses": [
"string"
]
},
"src_ports": "string"
}
],
"preserve_original_vlan": false,
"session_type": "string",
"snap_length": 0,
"tcp_ip_stack": "string"
}
]
}
curl -H 'Authorization: <value>' https://{api_host}/api/v1/mirror-sessions