getCpuMetricDataByDate


SoftLayer_Virtual_Guest::getCpuMetricDataByDate

Retrieve records containing the percentage of the amount of time that a cpu was in use for the specified time frame for a computing instance.

Description

Use this method when needing the metric data for a single guest’s CPUs. It will gather the correct input parameters based on the date ranges

Parameters

Name Type Description
startDateTime dateTime datetime of the start date of the graph
endDateTime dateTime datetime of the ending date of the graph
cpuIndexes int[] reserved for future use. An array of cpu index numbers to specify which cpus to graph

Required Headers

Optional Headers

  • None

Return Values

Associated Methods

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [dateTime, dateTime, int]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Virtual_Guest/{SoftLayer_Virtual_GuestID}/getCpuMetricDataByDate'