ServerMania logo

Enable Autoscaling for VS

To enable autoscaling  for a virtual server, use the following request:

POST /virtual_machines/:virual_machine_id/autoscale_enable.xml
POST /virtual_machines/:virual_machine_id/autoscale_enable.json 

XML Request Example

curl -i -X POST -u user:password http://test/virtual_machines/12/autoscale_enable.xml -H 'Accept: application/xml' -H 'Content-type: application/xml' 

JSON Request Example

curl -i -X POST -u user:password http://test/virtual_machines/12/autoscale_enable.json -H 'Accept: application/json' -H 'Content-type: application/json'