List IP Sec VPN Sessions
Get paginated list of all IPSec VPN sessions.
Please use below Policy APIs.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/ipsec-vpn-services/<service-id>/sessions
GET /policy/api/v1/infra/tier-1s/<tier-1-id>/ipsec-vpn-services/<service-id>/sessions
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
Id of the IPSec VPN service
Id of logical router
Maximum number of results to return in this page (server may return fewer)
Resource types of IPsec VPN session
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"
}
],
"enabled": false,
"ipsec_vpn_service_id": "string",
"local_endpoint_id": "string",
"peer_endpoint_id": "string",
"tcp_mss_clamping": {
"direction": "string",
"max_segment_size": 0
}
}
]
}
curl -H 'Authorization: <value>' https://{api_host}/api/v1/vpn/ipsec/sessions