Examples of VirtualDiskSpec


Examples of com.vmware.vim.binding.vim.VirtualDiskManager.VirtualDiskSpec

      String srcPath = VmConfigUtil.getVmdkPath(vmdk);
      String dstPath = VcFileManager.getDsPath(this, dstDs, diskName);
      logger.info("Copying disk '" + srcPath + "' to '" + dstPath + "'");
      // By default it would use settings from the parent disk,
      // verified for sparse & thin provisioned disks.
      VirtualDiskSpec spec = null;
      VcFileManager.copyVirtualDisk(srcPath, srcVm.getDatacenter(),
                                    dstPath, getDatacenter(), spec);
      attachVirtualDisk(deviceId,
            VmConfigUtil.createVmdkBackingInfo(this, dstDs, diskName, diskMode, null, null),
            false, null);
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.