性能块存储的数量不同

时间:2016-06-21 18:54:28

标签: ibm-cloud-infrastructure

使用API​​,我能够验证数量为2的块存储顺序,它甚至给了我正确的经常性成本,但在实际下订单时,只订购了一个。这是API的限制吗?这是在FedRAMP / usgov环境中。

循环订单服务调用是否更好,而不是在订单容器中指定数量为2?

谢谢

1 个答案:

答案 0 :(得分:0)

不应将数量指定为订单耐用性或性能存储。

您可以尝试按顺序发送所需的所有对象存储,例如此RESTFul示例:

{
    "parameters": [{
        "orderContainers": [{
            "complexType": "SoftLayer_Container_Product_Order_Network_Storage_Enterprise",
            "location": "AMSTERDAM",
            "packageId": 240,
            "prices": [{
                "id": 45058
            }, {
                "id": 45098
            }, {
                "id": 45068
            }, {
                "id": 144005
            }],

            "osFormatType": {
                "id": 12,
                "name": "Linux",
                "keyName": "LINUX"
            }
        }, {
            "complexType": "SoftLayer_Container_Product_Order_Network_Storage_Enterprise",
            "location": "AMSTERDAM",
            "packageId": 240,
            "prices": [{
                "id": 45058
            }, {
                "id": 45098
            }, {
                "id": 45068
            }, {
                "id": 144005
            }],

            "osFormatType": {
                "id": 12,
                "name": "Linux",
                "keyName": "LINUX"
            }
        }]
    }]
}

请注意,我将存储附加到“orderContainers”属性中。

这是该属性的描述:

orderContainers

订单可能包含一系列配置。填充此属性允许您在单个订单中购买多个配置。每个订单容器都有自己独立的设置,与其他订单容器无关。例如,可以在一个配置中订购裸机服务器,在另一个配置中订购虚拟服务器。 如果在基本订单容器上填充了orderContainers,则基本容器上将忽略大多数特定于配置的属性。例如,基本容器上将忽略price,location和packageId,但由于billingInformation是一个不是特定于单个订单容器的属性(但整个订单),因此必须在基本容器上填充它。 类型:SoftLayer_Container_Product_Order

请参阅http://sldn.softlayer.com/reference/datatypes/SoftLayer_Container_Product_Order

此致