SoftLayer Hardware::getBandwidthByHour

From SoftLayer Development Network Wiki

Jump to: navigation, search

getBandwidthByHour is a member of the SoftLayer_Hardware service.

Contents

Overview

Use this method to return all bandwidth updates on an hourly basis by hardware id. Since the potential number of data points is very large, the method limits you to returning data in 24 hour intervals. The day parameter needs to be a date and time. This will be used as the start point of your data query. The begin point will be calculated as 24 hours from that date/time. So to retrieve all the data for February 1st, 2008 from midnight through February 1st, 2008 23:59, pass in a day parameter of '02/01/2008 0:00'.

Return Type

getBandwidthByHour returns the SoftLayer_Container_Network_Bandwidth_Version1_UsageArray data type.

Headers

Required Headers

getBandwidthByHour requires the following headers:

Optional Headers

getBandwidthByHour may use the following headers:

Parameters

getBandwidthByHour takes the following parameters:

mode

Specifies the 'public' or 'private' port for this server.

  • Type: string



day

A date and time formatted as 'MM/DD/YYYY HH:00'

Personal tools