-4

How to create a volume in softlayer using rest api their is no option for create volume

2 Answers2

0

These examples may help you:

Regards.

Community
  • 1
  • 1
mcruz
  • 1,534
  • 2
  • 11
  • 14
-1

Curently, It is not possible to create volume in softlayer neither API nor Softlayer' Portal.

Regards

  • Power on soft layer server using rest API using JSON request – BERIN C DHAS Apr 18 '16 at 01:35
  • In order to power on you just need to call this method using the GET method http://sldn.softlayer.com/reference/services/SoftLayer_Hardware_Server/powerOn – Nelson Raul Cabero Mendoza Apr 18 '16 at 14:40
  • How to create 2 disk while provision using private image using rest – BERIN C DHAS Jul 23 '16 at 18:45
  • You need to use the placeOrder method http://sldn.softlayer.com/reference/services/SoftLayer_Product_Order/placeOrder, you need to send a container object to the method, in the container there is a attribute called imageTemplateId you need to specify the id of the template you want there e.g. see this container http://sldn.softlayer.com/reference/datatypes/SoftLayer_Container_Product_Order_Virtual_Guest. Then you just need to specify the prices of the items (disk ,ram,etc) you want in the order see this e.g. https://softlayer.github.io/rest/place_order/ – Nelson Raul Cabero Mendoza Jul 25 '16 at 13:40
  • Also this can help you to understand orders http://sldn.softlayer.com/blog/bpotter/going-further-softlayer-api-python-client-part-3 – Nelson Raul Cabero Mendoza Jul 25 '16 at 13:41