getItemsFromImageTemplate


SoftLayer_Product_Package::getItemsFromImageTemplate

Return a collection of SoftLayer_Product_Item objects from a SoftLayer_Virtual_Guest_Block_Device_Template_Group object

Description

Return a collection of SoftLayer_Product_Item objects from a SoftLayer_Virtual_Guest_Block_Device_Template_Group object

Parameters

Name Type Description
imageTemplate SoftLayer_Virtual_Guest_Block_Device_Template_Group The image template that the items will be returned for.

Required Headers

Optional Headers

Return Values

Error Handling

  • Throws the exception ‘Software description is not available with the the service offering on this server.’ when the product item cannot be determined.
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Virtual_Guest_Block_Device_Template_Group]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Product_Package/{SoftLayer_Product_PackageID}/getItemsFromImageTemplate'