The getDailyAverage method calculates the average daily network traffic used by the selected server. Using the required parameter dateTime to enter a start and end date, the user retrieves this average, measure in gigabytes (GB) for the specified date range. When entering parameters, only the month, day and year are required - time entries are omitted as this method defaults the time to midnight in order to account for the entire day.
HardwareSoftLayer_Hardware_Server::getDailyAverage
Overview
Parameters
| startDate |
dateTime |
The start date for the range of bandwidth a customer wishes to view. |
| endDate |
dateTime |
The end date for the range of bandwidth a customer wishes to view. |
Headers
n/a
authenticate, SoftLayer_Hardware_ServerInitParameters
Return Values
float