Policy > Networking > Connectivity > Segment > Segment Profiles > Segment Security Profiles

List segment security profiles

API will list all segment security profiles.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost) or VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/segment-security-profiles
/policy/api/v1/global-infra/segment-security-profiles
Request Headers:
n/a
Query Parameters:
SegmentSecurityProfileListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/segment-security-profiles

Successful Response:

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

Example Response:

{ "results": [ { "bpdu_filter_enable": true, "bpdu_filter_allow": [ "01:80:c2:00:00:00", "01:80:c2:00:00:01" ], "dhcp_server_block_enabled": true, "dhcp_client_block_enabled": true, "non_ip_traffic_block_enabled": true, "dhcp_server_block_v6_enabled": true, "dhcp_client_block_v6_enabled": true, "ra_guard_enabled": true, "rate_limits_enabled": false, "resource_type": "SegmentSecurityProfile", "id": "my-segment-security-profile", "display_name": "MySegmentSecurityProfile", "description": "MySegmentSecurityProfile", "path": "/infra/segment-security-profiles/my-segment-security-profile", "relative_path": "my-segment-security-profile", "parent_path": "/infra/segment-security-profiles/my-segment-security-profile", "marked_for_delete": false, "_create_user": "admin", "_create_time": 1544566776526, "_last_modified_user": "admin", "_last_modified_time": 1544566776526, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }, { "bpdu_filter_enable": true, "bpdu_filter_allow": [], "dhcp_server_block_enabled": true, "dhcp_client_block_enabled": false, "non_ip_traffic_block_enabled": false, "dhcp_server_block_v6_enabled": true, "dhcp_client_block_v6_enabled": false, "ra_guard_enabled": false, "rate_limits_enabled": false, "rate_limits": { "rx_broadcast": 0, "tx_broadcast": 0, "rx_multicast": 0, "tx_multicast": 0 }, "resource_type": "SegmentSecurityProfile", "id": "default-segment-security-profile", "display_name": "default-segment-security-profile", "path": "/infra/segment-security-profiles/default-segment-security-profile", "relative_path": "default-segment-security-profile", "parent_path": "/infra/segment-security-profiles/default-segment-security-profile", "marked_for_delete": false, "_create_user": "system", "_create_time": 1544555959907, "_last_modified_user": "system", "_last_modified_time": 1544555959907, "_system_owned": true, "_protection": "NOT_PROTECTED", "_revision": 0 } ], "result_count": 2, "sort_by": "display_name", "sort_ascending": true }

Required Permissions:

read

Feature:

policy_segment

Additional Errors: