getDetailsForDateRange


SoftLayer_Metric_Tracking_Object::getDetailsForDateRange

Retrieve metric detail data over a date range.

Description

Retrieve a collection of detailed metric data over a date range. Ideal if you want to employ your own graphing systems. Note not all metrics support this method. Those that do not return null.

Parameters

Name Type Description
startDate dateTime The starting date of the range of data you wish to collect.
endDate dateTime The ending date of the range of data you wish to collect.
graphType string[] The type of metric to gather data for (InstanceCount, HostMemoryUsage, HostReservedMemoryUsage).

Required Headers

Optional Headers

  • None

Return Values

Associated Methods

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [dateTime, dateTime, string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Metric_Tracking_Object/{SoftLayer_Metric_Tracking_ObjectID}/getDetailsForDateRange'