How do I add a bandwidth package to a new server order? Question pertains to virtual_guest and hardware "createObject" methods; neither of their 'getCreateObjectOptions' methods return options for bandwidth packages.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The SoftLayer_Hardware::createObject and SoftLayer_Virtual_Guest::createObject methods are a simplified way to order servers, so they have the most common items to place an order. Unfortunately it's not possible to set the "bandwidth" using these methods.
However, you can order a server using "createObject" method, after the server has been provisioned, you can place an upgrade for the bandwith. Otherwise you can use SoftLayer_Product_Order::placeOrder method, it provides all available options at the moment to place an order.