I got confused while placing order for Endurance. As we have these three values for Storage Package :-
0.25_IOPS_PER_GB = 45074
2_IOPS_PER_GB = 45084
4_IOPS_PER_GB = 45094
There Ids are fixed but when we select one of these while placing order we get list of storage size which is almost same in all of 3 cases. Now suppose for 100 GB storage space for all of three packages (0.25, 2, and 4) Ids for 100 GB will be different or not..? If these are different it means there exist a relation between Storage Package and Storage Size. then what will be the relation between them. What api should I try to fetch Storage Sizes based on Storage Package i.e. selected IOPS Id. Thanks in advance
When executing this request:
We can see that the
Storage Packages
haveattribute values
can help us to get a relation between Storage Package and Storage Size. For example theresponse
shows us:And when executing the below request to get valid prices for
Endurance
filtering by“Storage Size”
:The response shows us the
"CAPACITY_RESTRICTION_MIN"
and"CAPACITY_RESTRICTION_MAX"
of Storage Size related to Storage Packages.For example:
“100 GB Storage Space”
(id = 45234) should work successfully when creating an order with"4 IOPS per GB"
( "value": "300"). Below is a section of response:Response:
This is a
verifyOrder
example using the previous values:Method: POST
Json Payload:
Update 1:
To get valid values using SoftLayer_Product_Package::getItemPrices with a relation of between
Storage Package
andStorage Size
, please see:Where: The response will display “Storage Package” item prices (categoryCode":"performance_storage_space"`) that can be used when selecting "4 IOPS per GB" (‘"value":300’).