мы заказали ReservedCapacityGroup.
благодаря как заказать SoftLayer_Virtual_ReservedCapacityGroup .
, и мы попытались заказать ReservedCapacityGroupInstance.
- использовали продукт типа IBM Cloud's Family Size (пакет-id: 835) & preset-id (293)
- используемые параметры виртуального гостя
- servedCapacityGroup
- reservedCapacityGroupFlag
- reservedCapacityGroupInstance
Но нам не удалось заказать экземпляр.Заказанный сервер не является ReservedCapacityGroupInstance и является просто обычным виртуальным сервером.
{"parameters": [
{
"complexType": "SoftLayer_Container_Product_Order",
"orderContainers": [
{
"complexType": "SoftLayer_Container_Product_Order_Virtual_Guest",
"location": "1555995",
"packageId": 835,
"quantity": 1,
"presetId": 293,
"virtualGuests": [
{
"complexType": "SoftLayer_Virtual_Guest",
"primaryBackendNetworkComponent": {
"complexType": "SoftLayer_Virtual_Guest_Network_Component"
},
"domain": "rci.com",
"hostname": "ReservedGroupIns-02",
"primaryNetworkComponent": {
"complexType": "SoftLayer_Virtual_Guest_Network_Component"
},
"reservedCapacityGroup": {
"complexType": "SoftLayer_Virtual_ReservedCapacityGroup",
"id": 8201
},
"reservedCapacityGroupFlag": true,
"reservedCapacityGroupInstance": {
"complexType": "SoftLayer_Virtual_ReservedCapacityGroup_Instance",
"guestId": 63236601,
"id": 8601
}
}
],
"useHourlyPricing": true,
"prices": [
{
"complexType": "SoftLayer_Product_Item_Price",
"id": 13945
},
{
"complexType": "SoftLayer_Product_Item_Price",
"id": 273
},
{
"complexType": "SoftLayer_Product_Item_Price",
"id": 55
},
{
"complexType": "SoftLayer_Product_Item_Price",
"id": 58
},
{
"complexType": "SoftLayer_Product_Item_Price",
"id": 203971
},
{
"complexType": "SoftLayer_Product_Item_Price",
"id": 204931
},
{
"complexType": "SoftLayer_Product_Item_Price",
"id": 2202
},
{
"complexType": "SoftLayer_Product_Item_Price",
"id": 21
},
{
"complexType": "SoftLayer_Product_Item_Price",
"id": 1800
},
{
"complexType": "SoftLayer_Product_Item_Price",
"id": 57
},
{
"complexType": "SoftLayer_Product_Item_Price",
"id": 418
},
{
"complexType": "SoftLayer_Product_Item_Price",
"id": 905
},
{
"complexType": "SoftLayer_Product_Item_Price",
"id": 420
}
]
}
]
}
]
}
Кроме того, я проверил информацию о зарезервированной емкости.
https://IBM_ID:IBM_KEY@api.softlayer.com/rest/v3/SoftLayer_Virtual_ReservedCapacityGroup/8201/Instances.json
результат
{
"createDate": "",
"guestId": 63236601,
"id": 8601,
"modifyDate": null,
"reservedCapacityGroupId": 8201,
"reservedCapacityGroup": {
"accountId": 12345,
"backendRouterId": 667615,
"createDate": "2018-10-11T16:57:36+09:00",
"id": 8201,
"modifyDate": null,
"name": "test",
"instances": [
null
]
}
}