NSX-T Data Center REST API
Patch Port Mirroring Profile.
Create a new Port Mirroring Profile if the Port Mirroring Profile withgiven id does not already exist. If the Port Mirroring Profile with the
given id already exists, patch with the existing Port Mirroring Profile.
Realized entities of this API can be found using the path of monitoring
profile binding map that is used to apply this profile.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX.
Request:
Method:
PATCH
URI Path(s):
/policy/api/v1/infra/port-mirroring-profiles/{port-mirroring-profile-id}
Request Headers:
n/a
Query Parameters:
OverrideRequestParameters+
Request Body:
PortMirroringProfile+
Example Request:
{ "snap_length": 744, "destination_group": "/infra/domains/d1/groups/group_ip", "direction": "BIDIRECTIONAL", "encapsulation_type":"GRE", "gre_key" : 5 }Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a