Create Super Metric
Create a SuperMetric with the given name, formula and description
The SuperMetric to create
Show optional properties
{
"name": "string",
"formula": "string"
}
"{\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 unique ID of the SuperMetric. This will be null when creating a
SuperMetric, but it is required when updating an existing SuperMetric.
The name of the SuperMetric
The formula expression of the SuperMetric
The description of the SuperMetric
Last modification time of the SuperMetric
The created SuperMetric from the server
"{\n \"id\" : \"02a6fd9b-abaf-4f29-a36b-c93931532fdb\",\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 unique ID of the SuperMetric. This will be null when creating a
SuperMetric, but it is required when updating an existing SuperMetric.
The name of the SuperMetric
The formula expression of the SuperMetric
The description of the SuperMetric
Last modification time of the SuperMetric
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"formula:"string","name:"string"}' https://{api_host}/suite-api/api/supermetrics