System Administration > Monitoring > Latency Profiles

Update an existing latency profile

Request:

Method:
PUT
URI Path(s):
/api/v1/latency-profiles/<latency-profile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
LatencyStatProfile+

Example Request:

PUT https://<nsx-mgr>/api/v1/latency-profiles/2cec0292-a0e2-44dd-b5e6-975e13be8c89 { "id" : "2cec0292-a0e2-44dd-b5e6-975e13be8c89", "sampling_rate": 120, "pnic_latency_enabled": true, "_revision" : 0 }

Successful Response:

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

Example Response:

{ "sampling_rate" : 120, "pnic_latency_enabled" : true, "resource_type" : "LatencyStatProfile", "id" : "2cec0292-a0e2-44dd-b5e6-975e13be8c89", "display_name" : "2cec0292-a0e2-44dd-b5e6-975e13be8c89", "_create_user" : "admin", "_create_time" : 1554360733597, "_last_modified_user" : "admin", "_last_modified_time" : 1554360733597, "_system_owned" : false, "_protection" : "NOT_PROTECTED", "_revision" : 1 }

Required Permissions:

crud

Feature:

latency_stat

Additional Errors: