getGraphImage


SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Service::getGraphImage

Deprecated

Deprecated

Description

Deprecated

Parameters

Name Type Description
graphType string The graph type can be either ‘connections’ or ‘status’.
metric string The metric can be ‘day’, ‘week’, or ‘month’.

Required Headers

Optional Headers

  • None

Return Values

  • base64Binary

Error Handling

  • Throw the exception “The graphType can only be ‘connections’ or ‘status’.” when an invalid graphType is supplied.
  • Throw the exception “The metric can only be ‘day’, ‘week’, or ‘month’.” when an invalid metric is supplied.
  • Throw the exception “Unable to load the graph for the service.” when the graph could not be found or is returned in an incorrect image format.
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string, string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Service/{SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_ServiceID}/getGraphImage'