Policy > Monitoring > IPFIX > Switch IPFIX Profiles

Get IPFIX L2 Profile

API will return details of IPFIX L2 profile.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/ipfix-l2-profiles/<ipfix-l2-profile-id>
/policy/api/v1/global-infra/ipfix-l2-profiles/<ipfix-l2-profile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/ipfix-l2-profiles/ipfixsession_1

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
IPFIXL2Profile+

Example Response:

{ "resource_type": "IPFIXL2Profile", "id": "ipfixsession_1", "display_name": "/infra/ipfix-l2-profiles/ipfixsession_1", "path": "/infra/ipfix-l2-profiles/ipfixsession_1", "parent_path": "/infra/networks/cgw", "relative_path": "ipfixsession_1", "packet_sample_probability": 0.1, "observation_domain_id": 0, "active_timeout": 700, "max_flows": 1400, "idle_timeout": 300, "ipfix_collector_profile_path": "/infra/ipfix-l2-collector-profiles/profile1", "_create_user": "admin", "_create_time": 1517354664477, "_last_modified_user": "admin", "_last_modified_time": 1517354664477, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 1 }

Required Permissions:

read

Feature:

policy_ipfix_switch

Additional Errors: