容量受限的OS每月裸机SOFTLAYER过滤器

时间:2018-08-16 10:15:27

标签: ibm-cloud-infrastructure

裸机每月服务

我使用了以下API:- <a id="download1" href="/download=1"><i class="fa fa-download"></i>Clickme</a><br> <a id="download2" href="/download=2"><i class="fa fa-download"></i>Clickme</a><br> document.getElementById("download1").getAttribute("href");

数据中心-mex01

我已应用的

Filter OS是: https://api.softlayer.com/rest/v3.1/SoftLayer_Product_Package/271/getItemPrices.json?objectFilter={"itemPrices": {"categories": {"categoryCode": {"operation": "os"}}}}&objectMask=mask[capacityRestrictionType,pricingLocationGroup[locations],categories,item[id, description,keyName, capacity,softwareDescription[manufacturer],availabilityAttributeCount, availabilityAttributes[attributeType]]]

这为我提供了以下vmware操作系统:-

  

1)VMware Server Virtualization 6.5 Update 1g价格ID:215293项目ID:   11921,

     

2)VMware Server Virtualization 6.0价格ID:164769项目ID:6227,

     

3)VMware Server Virtualization 6.5价格ID:201163项目ID:10313

1)VMware Server Virtualization 6.5 Update 1g价格ID:215293,项目ID:11921给我错误:

  

此价格ID的容量与处理器的价格ID不匹配   四核Intel Xeon E7-4820 v2(32核,2.00 GHz)。

如何通过api过滤VMware 6.5更新1g?

1 个答案:

答案 0 :(得分:0)

似乎有问题,建议您在SoftLayer中打开票证并附加ID,我将跟踪该票证。

与此同时,我建议使用以下调用检索所有操作系统项目,但不检索“ VMware Server Virtualization 6.5 Update 1g”

https://api.softlayer.com/rest/v3/SoftLayer_Product_Package/271/getItemPrices?objectFilter={"itemPrices":{"categories":{"categoryCode":{"operation":"os"}},"item":{"description":{"operation":"!*=1g" }}}}&objectMask=mask[capacityRestrictionType,pricingLocationGroup[locations],categories,item[id, description,keyName, capacity,softwareDescription[manufacturer],availabilityAttributeCount,availabilityAttributes[attributeType]]]