getUsageMetricDataByDate


SoftLayer_Virtual_Storage_Repository::getUsageMetricDataByDate

Retrieve the metric data for disk space usage for a storage repository.

Description

Retrieve disk usage data on a SoftLayer_Virtual_Guest image for the time range you provide. Each data entry objects contain ‘‘dateTime’’ and ‘‘counter’’ properties. ‘‘dateTime’’ property indicates the time that the disk usage data was measured and ‘‘counter’’ property holds the disk usage in bytes.

Parameters

Name Type Description
startDateTime dateTime datetime of the start date of the graph
endDateTime dateTime datetime of the ending date of the graph

Required Headers

Optional Headers

  • None

Return Values

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