"SoftLayer_" prefix removed for readability.
Retrieve total amount of network traffic that was in use during the time specified by the input parameters for a computing instance.
Name | Type | Description |
---|---|---|
startDateTime | dateTime | timestamp of the starting date |
endDateTime | dateTime | timestamp of the ending date |
direction | string | either “IN”, “OUT”, or “BOTH” with BOTH being default |
side | string | either “PUBLIC”, “PRIVATE”, or “BOTH” with PUBLIC being default |
None
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [dateTime, dateTime, string, string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Virtual_Guest/{SoftLayer_Virtual_GuestID}/getBandwidthTotal'