I am trying to place order in performance storage then API is returning null for IOPS
when 250/500GB
is selected. Please make a needful favour. API that I am using to get the IOPS
is given below:
https://[username]:[apiKey]@api.softlayer.com/rest/v3.1/SoftLayer_Product_Package/222/getItemPrices?objectFilter={"itemPrices": { "attributes": { "value": { "operation": 250 } }, "categories": { "categoryCode": { "operation": "performance_storage_iops" } }, "locationGroupId": { "operation": "is null" } } }
Please make a needful favour.
I am given
but
IOPS
getting null. please check below attached.I'm able to get data for IOPS selecting storage size 250GB or 500GB in Performance Storage (Block Storage / File Storage).
Could you describe more about this issue? code that you are trying or the steps that you followed?
you have to use the following filter objectFilter={"itemPrices": { "attributes": { "value": { "operation": 1000 } }, "categories": { "categoryCode": { "operation": "performance_storage_iops" } }, "locationGroupId": { "operation": "is null" } } }, The result will return all the IOPS which work with storage spaces <= 1000 gbs. In case you need the IOPS which work for a storage space such as 1500, you have to change the value "1000" by "2000". I hope that I got the message acrooss
Regards