"SoftLayer_" prefix removed for readability.
Retrieve total number of public bytes used by a server over time period specified.
Name | Type | Description |
---|---|---|
startTime | int | The starting point to retrieve bandwidth data from, specified as a dateTime. |
endTime | int | The end point to retrieve bandwidth data to, specified as a dateTime. |
None
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [int, int]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_SecurityModule/{SoftLayer_Hardware_SecurityModuleID}/getPublicBandwidthTotal'