NSX-T Data Center REST API
Create or replace infra segment security profile binding map
API will create or replace segment security profile binding map.For objects with no binding maps, default profile is applied.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.
Request:
Method:
PUT
URI Path(s):
/policy/api/v1/infra/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/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/segments/segment_1/segment-security-profile-binding-maps/segment_security_binding_map_1", "parent_path": "/infra/segments/segment_1", "relative_path": "segment_security_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": 1539129491798, "_last_modified_user": "admin", "_last_modified_time": 1539129491798, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
SegmentSecurityProfileBindingMap+