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

Update Port Discovery Profile Binding Map

API will update Port 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, Hyperscalers) or VMware NSX-T.

Request:

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

Example Request:

PUT https://<nsx-mgr>/policy/api/v1/infra/tier-1s/tier-1/segments/segment_1/ports/port_1/port-discovery-profile-binding-maps/pdpbm_1 { "resource_type":" PortDiscoveryProfileBindingMap", "display_name": "PortDiscoveryProfileBindingMap 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:
PortDiscoveryProfileBindingMap+

Example Response:

{ "resource_type": "PortDiscoveryProfileBindingMap", "description": "", "id":"pdpbm_1", "display_name": "PortDiscoveryProfileBindingMap", "path": "/infra/tier-1s/tier-1/segments/segment_1/ports/port_1/port-discovery-profile-binding-maps/pdpbm_1", "relative_path": "PortDiscoveryProfileBindingMaps", "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: