getCpuMetricImage


SoftLayer_Virtual_Guest::getCpuMetricImage

Retrieve a visual representation of the percentage of the amount of time that a cpu was in use for the specified time frame for a computing instance.

Overview

Use this method when needing a cpu usage image for a single guest. It will gather the correct input parameters for the generic graphing utility automatically based on the snapshot specified.

Parameters

Name Type Description
snapshotRange string
  • day
  • week
  • 30day
  • previous_calendar_month
  • current_calendar_month
  • current_billing_cycle
  • previous_billing_cycle
  • specified_day
dateSpecified dateTime Include this parameter when snapshot is ‘specified_day’. Needs to be formatted as: ‘MM/DD/YYYY HH:00’

Required Headers

  • authenticate
  • SoftLayer_Virtual_GuestInitParameters

Optional Headers

Return Values

SoftLayer_Container_Bandwidth_GraphOutputs


/reference/services/SoftLayer_Virtual_Guest/getCpuMetricImage/