getGraph


SoftLayer_Metric_Tracking_Object::getGraph

Retrieve a graph of a virtual hosting platform’s per instance use.

Description

Retrieve a PNG image of a metric in graph form.

Parameters

Name Type Description
startDateTime dateTime timestamp of the starting date of the graph
endDateTime dateTime timestamp of the ending date of the graph
graphType string[] type of the graph (“public” or “private” for bandwidth, “InstanceCount” or “HostMemoryUsage” or “HostReservedMemoryUsage” for virtual hosts)

Required Headers

Optional Headers

  • None

Return Values

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}/getGraph'