找不到私有核心容量12的价格

时间:2019-03-19 08:54:44

标签: ibm-cloud

尝试执行以下API https://api.softlayer.com/rest/v3.1/SoftLayer_Virtual_Guest/generateOrderTemplate

以下有效负载会返回正确的定价响应

{
  "parameters":[
    {
      "hostname":"heotnasr",
      "domain":"domain.com",
      "operatingSystemReferenceCode":"CENTOS_LATEST",
      "datacenter":{
        "name":"ams03"
      },
      "networkComponents":[
        {
          "maxSpeed":"100"
        }
      ],
      "hourlyBillingFlag":true,
      "privateNetworkOnlyFlag":false,
      "startCpus":"1",
      "maxMemory":"1024",
      "localDiskFlag":true,
      "blockDevices":[
        {
          "device":"0",
          "diskImage":{
            "capacity":"25"
          }
        }
      ],
      "dedicatedAccountHostOnlyFlag":true
    }
  ]
}

但是以下有效载荷:

{
  "parameters":[
    {
      "hostname":"heotnasr",
      "domain":"domain.com",
      "operatingSystemReferenceCode":"CENTOS_LATEST",
      "datacenter":{
        "name":"ams03"
      },
      "networkComponents":[
        {
          "maxSpeed":"100"
        }
      ],
      "hourlyBillingFlag":true,
      "privateNetworkOnlyFlag":false,
      "startCpus":"12",
      "maxMemory":"1024",
      "localDiskFlag":true,
      "blockDevices":[
        {
          "device":"0",
          "diskImage":{
            "capacity":"25"
          }
        }
      ],
      "dedicatedAccountHostOnlyFlag":true
    }
  ]
}

返回以下错误

{
  "error":"Unable to find price for private core capacity of 12.",
  "code":"SoftLayer_Exception_NotFound"
}

0 个答案:

没有答案