How do you call the powerOn service when using the JAVA SDK?
Note: the JAVA SDK forum is not writable for me
I'm doing this:
Vapp.powerOn(myClient, myVMRef);
But it makes a POST to /api/v1.0/vdc//power/action/powerOn
What's wrong?
Hi,
This has been identified as a bug and will be fixed in the next release.
You should be able to power on like this
Vapp vm = Vapp.getVappByReference(client, vmRef);
vm.powerOn();
Regards,
Rajesh Kamal.
Hey guys just wanted to let you know we have a shiny new forum dedicated to all things Java - sample codes, and best of all it is monitored by the team that wrote it http://communities.vmware.com/community/developer/forums/vcloudsdkjava
Regards,
Pablo Roesch
This forum is read-only for me