"SoftLayer_" prefix removed for readability.
Retrieve raw bandwidth data from a tracking object.
Name | Type | Description |
---|---|---|
startDateTime | dateTime | The starting date of the range of data you wish to collect. |
endDateTime | dateTime | The ending date of the range of data you wish to collect. |
type | string | The type type of the bandwidth data you wish to retrieve, either “public” or “private”. |
rollupSeconds | int | The amount of rollup seconds to segregate data in. Rollup seconds enable you to retrieve the average amount of bandwidth used per individual delta in your date range. For instance, a rollupSeconds value of 3600 will return data averaged over every hour. |
None
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [dateTime, dateTime, string, int]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Metric_Tracking_Object/{SoftLayer_Metric_Tracking_ObjectID}/getBandwidthData'