NSX-T Data Center REST API
Create or update CPU and memory thresholds profile
Create or update CPU and memory thresholds profile.Request:
Method:
PUT
URI Path(s):
/policy/api/v1/infra/settings/firewall/cpu-mem-thresholds-profiles/<profile-id>
/policy/api/v1/global-infra/settings/firewall/cpu-mem-thresholds-profiles/<profile-id>
/policy/api/v1/global-infra/settings/firewall/cpu-mem-thresholds-profiles/<profile-id>
Request Headers:
n/a
Query Parameters:
OverrideRequestParameters+
Request Body:
PolicyFirewallCpuMemThresholdsProfile+
Example Request:
PUT https://<policy-mgr>/policy/api/v1/infra/settings/firewall/cpu-mem-thresholds-profiles/default { "display_name" : "default-cpu-mem-thresholds-profile", "cpu_threshold_percentage" : 10, "mem_threshold_percentage" : 20 "_revision" : 0 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PolicyFirewallCpuMemThresholdsProfile+