SoftLayer Hardware Server::getPublicBandwidthDataSummary

From SoftLayer Development Network Wiki

Jump to: navigation, search

getPublicBandwidthDataSummary is a member of the SoftLayer_Hardware_Server service.

Contents

Overview

Retrieve a brief summary of a server's public network bandwidth usage. getPublicBandwidthDataSummary retrieves a server's bandwidth allocation for its billing period, its estimated usage during its billing period, and an estimation of how much bandwidth it will use during its billing period based on its current usage. A server's projected bandwidth usage increases in accuracy as it progresses through its billing period.

User Access

Users wishing to execute getPublicBandwidthDataSummary must have the following permissions assigned to their account:

  • View Hardware Details

Return Type

getPublicBandwidthDataSummary returns the SoftLayer_Container_Network_Bandwidth_Data_Summary data type.

Headers

Required Headers

getPublicBandwidthDataSummary requires the following headers set:

Optional Headers

getPublicBandwidthDataSummary takes the following optional headers:

Error Handling

getPublicBandwidthDataSummary throws the following exceptions:

  • SoftLayer_Exception
Throw the exception "Unable to load the public bandwidth data summary for the server {id}." if the API is unable to retrieve a server's public bandwidth data.
Personal tools