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

GET Segment security profile id

API will return details of the segment security profile with given id. If the
profile does not exist, it will return 404.
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/segment-security-profiles/<segment-security-profile-id>
/policy/api/v1/global-infra/segment-security-profiles/<segment-security-profile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

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

Successful Response:

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

Example Response:

{ "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 }

Required Permissions:

read

Feature:

policy_profiles

Additional Errors: