getUsageRatePrices


SoftLayer_Product_Item_Price::getUsageRatePrices

Get all the rate-based prices for the location and items specified.

Description

Returns a collection of rate-based SoftLayer_Product_Item_Price objects associated with the SoftLayer_Product_Item objects and the SoftLayer_Location specified. The location is required to get the appropriate rate-based prices because the usage rates may vary from datacenter to datacenter.

Parameters

Name Type Description
location SoftLayer_Location The SoftLayer_Location object
items SoftLayer_Product_Item[] Array of SoftLayer_Product_Item objects used to obtain rate-based prices

Required Headers

Optional Headers

Return Values

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Location, SoftLayer_Product_Item]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Product_Item_Price/getUsageRatePrices'