Update Super Metric
Update a SuperMetric with the given name, formula and description
The updated SuperMetric
Show optional properties
{
"formula": "string",
"name": "string"
}
"{\n \"id\" : \"fd55436a-cd9c-47ea-85cf-64ac9549c5ca\",\n \"name\" : \"Example SuperMetric for DataCenter\",\n \"formula\" : \"sumN(\\\\$This:cpu|demandmhz,2)\",\n \"description\" : \"Sum the CPU usage in MHZ on the assigned resource and its children\"\n}"
The description of the SuperMetric
The formula expression of the SuperMetric
The unique ID of the SuperMetric. This will be null when creating a
SuperMetric, but it is required when updating an existing SuperMetric.
Last modification time of the SuperMetric
The name of the SuperMetric
The updated SuperMetric object
"{\n \"id\" : \"f8dfc0a9-0ad2-42a7-b12e-09372d9179eb\",\n \"name\" : \"Example SuperMetric for DataCenter\",\n \"formula\" : \"sumN(\\\\$This:cpu|demandmhz,2)\",\n \"description\" : \"Sum the CPU usage in MHZ on the assigned resource and its children\"\n}"
The description of the SuperMetric
The formula expression of the SuperMetric
The unique ID of the SuperMetric. This will be null when creating a
SuperMetric, but it is required when updating an existing SuperMetric.
Last modification time of the SuperMetric
The name of the SuperMetric
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"formula":"string","name":"string"}' https://{api_host}/suite-api/api/supermetrics