产品订单中指定了专用的cpus,内存和磁盘。
我设置了hostid(专用主机),但出现错误
“此订单存在问题:订单容器上提供的无效价格为16 x 2.0 GHz或更高的Cores(专用主机)(200327)。请选择专用实例计算实例价格以订购专用实例。”
以下是订单(例如)
{
"orderContainers": [
{
"hostId": "204603",
"provisionScripts": [
"https://10.140.132.215:8443/bootstrap_base.sh"
],
"location": 449600,
"packageId": 46,
"prices": [
{ "id": 200327 },
{ "id": 23070 },
{ "id": 200399 },
{ "id": 200423 },
{ "id": 212490 },
{ "id": 200367 },
{ "id": 203855 },
{ "id": 34183 },
{ "id": 34807 },
{ "id": 80265 },
{ "id": 32500 },
{ "id": 32627},
{ "id": 33483 },
{ "id": 35310 }
],
"virtualGuests": [
{
"primaryBackendNetworkComponent": {
"networkVlan": { "id": 1374047 },
"networkVlanId": 1374047
},
"domain": "dddddd",
"hostname": "test",
"primaryNetworkComponent": {
"networkVlan": { "id": 1374043 },
"networkVlanId": 1374043
}
}
],
"sshKeys": [
{
"sshKeyIds": [
388713,
410311
]
}
],
"quantity": 1
}
]
}
答案 0 :(得分:0)
专用主机位于数据中心中,因此我建议删除location属性并改为添加complexType
尝试以下操作:
NULL