Package com.vmware.vim.binding.vim

Examples of com.vmware.vim.binding.vim.VirtualMachine.shutdownGuest()


               VcEventType.VmPoweredOff, getMoRef(),
               new IVcPseudoTaskBody () {
            @Override
            public ManagedObjectReference body() throws Exception {
               VirtualMachine vm = getManagedObject();
               vm.shutdownGuest();      // Initiates shutdown.
               if (!waitForPowerOff(timeoutMillis)) {
                  throw VcException.GUEST_TIMEOUT();
               }
               return getMoRef();
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.