NSX-T Data Center REST API

Patch a tier1 segment connection binding map

Patch the infra segment connection binding map. If binding map corresponding to the the given values is
not present, the object will get created and if it is present it will be
updated. This is a full replace.
This API is only available when using VMware NSX.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/tier-1s/{tier-1-id}/segments/{segment-id}/segment-connection-binding-maps/{map-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/tier-1s/{tier-1-id}/segments/{segment-id}/segment-connection-binding-maps/{map-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
SegmentConnectionBindingMap+

Example Request:

{ "vlan_traffic_tag": "21", "segment_path": "/infra/segments/seg2" }

Successful Response:

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

Example Response:

{ "resource_type": "SegmentConnectionBindingMap", "display_name": "binding-map1", "path": "/infra/tier-1s/tier1/segments/seg1/segment-connection-binding-maps/binding-map1", "parent_path": "/infra/tier-1s/tier1/segments/seg1", "relative_path": "binding-map1", "vlan_id": "21", "segment_path": "/infra/segments/seg2", "_create_user": "admin", "_create_time": 1517317362027, "_last_modified_user": "admin", "_last_modified_time": 1517317362027, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

policy_connectivity

Additional Errors: