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

Create or replace segment security profile binding map

API will create or replace segment security profile binding map.
This API is available when using VMware Cloud on AWS or VMware NSX-T.

Request:

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

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/tier-1s/tier1_1/segments/segment_1/segment-security-profile-binding-maps/segment_security_binding_map_1 { "resource_type": "SegmentSecurityProfileBindingMap", "id": "segment_security_binding_map_1", "display_name": "segment_security_binding_map_1", "path": "/infra/tier-1s/tier1_1/segments/segment_1/segment-security-profile-binding-maps/segment_security_binding_map_1", "parent_path": "/infra/tier-1s/tier1_1/segments/segment_1", "relative_path": "segment_security_binding_map_1", "marked_for_delete": false, "spoofguard_profile_path": "/infra/spoofguard-profiles/spoofguardprofile_1", "segment_security_profile_path": "/infra/segment-security-profiles/segment_security_2", "_create_user": "admin", "_create_time": 1539129320511, "_last_modified_user": "admin", "_last_modified_time": 1539129320511, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Successful Response:

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

Example Response:

{ "resource_type": "SegmentSecurityProfileBindingMap", "id": "segment_security_binding_map_1", "display_name": "segment_security_binding_map_1", "path": "/infra/tier-1s/tier1_1/segments/segment_1/segment-security-profile-binding-maps/segment_security_binding_map_1", "parent_path": "/infra/tier-1s/tier1_1/segments/segment_1", "relative_path": "segment_security_binding_map_1", "marked_for_delete": false, "spoofguard_profile_path": "/infra/spoofguard-profiles/spoofguardprofile_1", "segment_security_profile_path": "/infra/segment-security-profiles/segment_security_2", "_create_user": "admin", "_create_time": 1539129320511, "_last_modified_user": "admin", "_last_modified_time": 1539129593401, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 1 }

Required Permissions:

crud

Feature:

policy_segment

Additional Errors: