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

Update Port Monitoring Profile Binding Map

API will update Port Monitoring Profile Binding Map. This API is available when using VMware NSX-T or VMware Cloud on AWS.

Request:

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

Example Request:

PUT https://<nsx-mgr>/policy/api/v1/infra/tier-1s/tier-1/segments/segment_1/ports/port_1/port-monitoring-profile-binding-maps/1 { "resource_type":" PortMonitoringProfileBindingMap", "display_name": "PortMonitoringProfileBindingMap Profile Production", "name":"1", "description":"", "port_mirroring_profile_path":"/infra/port-mirroring-profiles/1", "ipfix_l2_profile_path":"/infra/ipfix-l2-profiles/1" "_revision": 1 }

Successful Response:

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

Example Response:

{ "resource_type": "PortMonitoringProfileBindingMap", "description": "", "name":"1", "id":"1", "display_name": "PortMonitoringProfileBindingMap", "path": "/infra/tier-1s/tier-1/segments/segment_1/ports/port_1/port-monitoring-profile-binding-maps/1", "relative_path": "PortMonitoringProfileBindingMaps", "port_mirroring_profile_path":"/infra/port-mirroring-profiles/1", "ipfix_l2_profile_path":"/infra/ipfix-l2-profiles/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: