How do I provision an hourly bare metal server from a flex image using the softlayer python API -


i bumped article: https://sldn.softlayer.com/blog/phil/dedicated-server-ordering-flex-image-and-python it's 2012, softlayer api has progressed since then, , doesn't indicate how provision onto hourly server.

is there way this? , there more up-to-date way of provisioning onto monthly server (without using prices)

thanks graham

the basics have not change here can see dated articles orders , prices:

http://sldn.softlayer.com/blog/cmporter/location-based-pricing-and-you http://sldn.softlayer.com/blog/bpotter/going-further-softlayer-api-python-client-part-3

to order hourly bare metal server need pick hourly prices, can know price charged hourly if contains "hourlyrecurringfee" property if price not contain property charged mountly.

another way order hourly servers using the: https://sldn.softlayer.com/reference/services/softlayer_virtual_guest/createobject https://sldn.softlayer.com/reference/services/softlayer_hardware_server/createobject method

you can see more information in these articles: http://sldn.softlayer.com/blog/bpotter/ordering-bare-metal-servers-using-softlayer-api http://sldn.softlayer.com/blog/phil/getting-started-ccis

if take documentation https://sldn.softlayer.com/reference/services/softlayer_virtual_guest/createobject method see set image template need configure property:

"blockdevicetemplategroup": { "globalidentifier": "07beadaa-1e11-476e-a188-3f7795feb9fb" } 

this create cci server, if want create bare metal server need use https://sldn.softlayer.com/reference/services/softlayer_hardware_server/createobject method method not able set image template, if want create bare metal server flex image need use placeorder method (the approach using prices )


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -