No Data for IOPS while Selecting Storage Size 250G

2020-05-03 10:46发布

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.

3条回答
戒情不戒烟
2楼-- · 2020-05-03 10:48

I am given

 objectFilter = {"itemPrices": { "attributes": { "value": { "operation": 250 } }, 
"categories": { "categoryCode": { "operation": "performance_storage_iops" } },
 "locationGroupId": { "operation": "is null" } } } 

but IOPS getting null. please check below attached.

Response for storage size 250GB

查看更多
手持菜刀,她持情操
3楼-- · 2020-05-03 10:53

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?

查看更多
贪生不怕死
4楼-- · 2020-05-03 10:58

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

查看更多
登录 后发表回答