Search code examples
ibm-cloud-infrastructuresuspend

Cannot order IBM Cloud virtual servers with suspended billing using a Softlayer image


I'm an active user of Softlayer suspend billing, but I have to restore some VSIs in SUSPEND_CLOUD_SERVER to use the suspend profile. I can't find the parameter for image restore in the slcli. Does anyone have a tip?


Solution

  • The slcli order place builds a orderData and this is send in the request through the placeOrder method so I recommend to remove the OS price and add imageTemplateId in the --extras parameter as following:

     --extras '{"virtualGuests": [{"hostname": "suspendable", "domain": "ibmcloud.com"}], "imageTemplateId": 1332123}'
    

    Replace the value 1332123 with your image id.