Package com.vmware.vim.binding.vim.vm

Examples of com.vmware.vim.binding.vim.vm.VmImportSpec


      // create import spec from ovf
      CreateImportSpecResult specResult = vcs.getOvfManager().createImportSpec(
            loadOvfContents(ovfPath), rp.getMoRef(), ds.getMoRef(), importParams);
      AuAssert.check(specResult.getError() == null && specResult.getWarning() == null);
      VmImportSpec importSpec = (VmImportSpec)specResult.getImportSpec();
      // start importing the vApp and get the lease to upload vmdks
      HttpNfcLease nfcLease = rp.importVApp(importSpec);

      // total bytes to be imported
      long importTotal = 0;
View Full Code Here

TOP

Related Classes of com.vmware.vim.binding.vim.vm.VmImportSpec

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.