문제

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 ?

도움이 되었습니까?

해결책

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 !

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top