Pregunta

I'm using Dasein-cloud API and I want to stop a virtual machine.

Actually I can stop the VM using stop(id) method from VirtualMachineSupport class but the VM state is STOPPED and I'm still being charged.

I want to stop the VM and deallocate it (STOPPED DEALLOCATED status)

Do you know if a method exist and where can I find it ?

¿Fue útil?

Solución

I finally found a solution.

I use the Azure API REST services, parse the obtained XML to get the datas I need and execute some requests usingSSLSocketFactory and HttpsURLConnection.

Hope it helps someone else waiting a real API !

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top