getBandwidthDataByDate


SoftLayer_Virtual_Guest::getBandwidthDataByDate

Retrieve the amount of network traffic that occurred for the specified time frame for a computing instance.

Description

Use this method when needing the metric data for bandwidth for a single guest. It will gather the correct input parameters based on the date ranges

Parameters

Name Type Description
startDateTime dateTime datetime of the start date of the graph
endDateTime dateTime datetime of the ending date of the graph
networkType string type of the graph, either “public” or “private”

Required Headers

Optional Headers

  • None

Return Values

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [dateTime, dateTime, string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Virtual_Guest/{SoftLayer_Virtual_GuestID}/getBandwidthDataByDate'