Examples of cloneVm()


Examples of com.vmware.aurora.vc.VcVirtualMachine.cloneVm()

      if (requireClone()) {
         VcVirtualMachine.CreateSpec vmSpec =
               new VcVirtualMachine.CreateSpec(newVmName, snap, targetRp,
                     targetDs, vmFolder, host, linkedClone, configSpec);
         // Clone from the template
         vcVm = template.cloneVm(vmSpec, null);
      } else {
         // copy parent vm's version/product info/vapp options
         copyParentVmSettings(template, configSpec);

         vcVm = targetRp.createVm(configSpec, targetDs, vmFolder);
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.