Policy > Networking > Connectivity > Segment > Segment Profiles > Segment Security Profile Binding

List port security profile binding maps

API will list all port security profile binding maps.
This API is available when using VMware Cloud on AWS or VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>/port-security-profile-binding-maps
/policy/api/v1/global-infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>/port-security-profile-binding-maps
Request Headers:
n/a
Query Parameters:
PortSecurityProfileBindingMapListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-1s/tier1_1/segments/segment_1/ports/port_1/port-security-profile-binding-maps/

Successful Response:

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

Example Response:

{ "sort_ascending": true, "sort_by": "display_name", "result_count": 1, "results": [ { "resource_type": "PortSecurityProfileBindingMap", "id": "port-security-profile-binding-map_1", "display_name": "port-security-profile-binding-map_1", "path": "/infra/tier-1s/tier1_1/segments/segment_1/ports/port_1/port-security-profile-binding-maps/port-security-profile-binding-map_1", "parent_path": "/infra/tier-1s/tier1_1/segments/segment_1/ports/port_1", "relative_path": "port-security-profile-binding-map_1", "marked_for_delete": false, "segment_security_profile_path": "/infra/segment-security-profiles/segmentsecurityprofile_1", "spoofguard_profile_path": "", "_create_user": "admin", "_create_time": 1539130135604, "_last_modified_user": "admin", "_last_modified_time": 1539130486350, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 1 } ] }

Required Permissions:

read

Feature:

policy_segment

Additional Errors: