getBandwidthTotal


SoftLayer_Virtual_Guest::getBandwidthTotal

Retrieve total amount of network traffic that was in use during the time specified by the input parameters for a computing instance.

Description

Returns the total amount of bandwidth used during the time specified for a computing instance.

Parameters

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

Required Headers

Optional Headers

  • None

Return Values

  • unsignedLong
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'