"SoftLayer_" prefix removed for readability.
Retrieve the bandwidth usage for the current billing cycle.
{{CloudLayerOnlyMethod}}
collectBandwidth() Retrieve the bandwidth usage for the current billing cycle.
Name | Type | Description |
---|---|---|
type | string | The bandwidth type to collect usage for (upload, download) |
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. |
None
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string, dateTime, dateTime]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Storage_Backup_Evault/{SoftLayer_Network_Storage_Backup_EvaultID}/collectBandwidth'