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

Update Segment Discovery Profile Binding Map

API will update Segment Discovery 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) or VMware NSX-T.

Request:

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

Example Request:

PUT https://<nsx-mgr>/policy/api/v1/infra/tier-1s/tier-1/segments/segment_1/segment-discovery-profile-binding-maps/sdpbm_1 { "resource_type":" SegmentDiscoveryProfileBindingMap", "display_name": "SegmentDiscoveryProfileBindingMap Profile Production", "description":"", "mac_discovery_profile_path":"/infra/mac-discovery-profiles/macdp_1", "ip_discovery_profile_path":"/infra/ip-discovery-profiles/ipdp_1", "_revision": 1 }

Successful Response:

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

Example Response:

{ "resource_type": "SegmentDiscoveryProfileBindingMap", "description": "", "id":"sdpbm_1", "display_name": "SegmentDiscoveryProfileBindingMap", "path": "/infra/tier-1s/tier-1/segments/segment_1/segment-discovery-profile-binding-maps/sdpbm_1", "relative_path": "SegmentDiscoveryProfileBindingMaps", "mac_discovery_profile_path":"/infra/mac-discovery-profiles/macdp_1", "ip_discovery_profile_path":"/infra/ip-discovery-profiles/ipdp_1", "_create_user": "admin", "_create_time": 1516657975538, "_last_modified_user": "admin", "_last_modified_time": 1517353711231, "_system_owned": false, "_revision": 1 }

Required Permissions:

crud

Feature:

policy_segment

Additional Errors: