getBandwidthGraph


SoftLayer_Metric_Tracking_Object::getBandwidthGraph

Deprecated

[DEPRECATED] Retrieve a bandwidth graph.

Description

[DEPRECATED] Retrieve a PNG image of a bandwidth graph representing the bandwidth usage over time recorded by SofTLayer’s bandwidth pollers.

Parameters

Name Type Description
startDateTime dateTime The starting date of the range of graph data you wish to retrieve.
endDateTime dateTime The ending date of the range of graph data you wish to retrieve.
graphType string $graphType The type type of the bandwidth graph you wish to retrieve, either “public” or “private”.
fontSize int $fontSize Size to draw the font on the graph labels and legend.
graphWidth int $graphWidth Number of pixel wide you would like to draw the graph.
graphHeight int $graphHeight Number of pixel high you would like to draw the graph.
doNotShowTimeZone boolean $doNotShowTimeZone Whether or not you’d like the timezone printed on the graph margin.

Required Headers

Optional Headers

  • None

Return Values

Associated Methods

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