Network
SoftLayer_Network_Storage::collectBandwidth

Overview

collectBandwidth() Retrieve the bandwidth usage for the current billing cycle.

Parameters

type

string

The bandwidth type to collect usage for (upload, download)

startDate

dateTime

The starting date of the range of data you wish to collect.

endDate

dateTime

The ending date of the range of data you wish to collect.

Headers

n/a
authenticate, SoftLayer_Network_StorageInitParameters

Return Values

unsigned long

Error Handling

  • SoftLayer_Exception: Throw the exception "The Storage type is not supported for bandwidth used collection. Please contact development."