getMemoryMetricImage


SoftLayer_Virtual_Guest::getMemoryMetricImage

Retrieve a visual representation of the amount of memory used for the specified time frame for a computing instance.

Description

Use this method when needing a memory 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 enum
  • day
  • week
  • 30day
  • previous_calendar_month
  • current_calendar_month
  • current_billing_cycle
  • previous_billing_cycle
  • specified_day
  • specified_range
dateSpecified dateTime Include this parameter when snapshot is ‘specified_day’ or ‘specified_range’. Needs to be formatted as: ‘MM/DD/YYYY’

Required Headers

Optional Headers

  • None

Return Values

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [enum, dateTime]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Virtual_Guest/{SoftLayer_Virtual_GuestID}/getMemoryMetricImage'