Package com.vmware.aurora.vc.VcVirtualMachine

Examples of com.vmware.aurora.vc.VcVirtualMachine.CreateSpec


            @Override
            protected Void body() throws Exception {
               VcVirtualMachine template = VcCache.get(srcVmId);
               VcSnapshot snap = template.getSnapshotByName(snapName);

               CreateSpec vmSpec =
                     new CreateSpec(newVmName, snap, targetRp, targetDs, true, null);

               DeviceId[] removeSet = removeDisks;
               VcVirtualMachine newVm = template.cloneVm(vmSpec, removeSet);
               newVm.changeDisks(null, addDisks);
               //newVm.powerOn();
View Full Code Here

TOP

Related Classes of com.vmware.aurora.vc.VcVirtualMachine.CreateSpec

Copyright © 2018 www.massapicom. 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.