"SoftLayer_" prefix removed for readability.
Retrieve a graph representing the bandwidth used by a Storage account.
{{CloudLayerOnlyMethod}}
getGraph() retrieves a Storage account’s usage and returns a PNG graph image, title, and the minimum and maximum dates included in the graphed date range. Virtual Server storage accounts can also graph upload and download bandwidth usage.
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. |
type | string | The type of data you wish to graph. Either “usage”, “upload”, “download” or “bandwidth”. |
None
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [dateTime, dateTime, string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Storage/{SoftLayer_Network_StorageID}/getGraph'