Class OVFManagerExportVMDK


  • @Sample(name="ovf-manager-export-vmdk",
            description="This is a demonstrates OVFManager.Exports VMDK\'s of a VM to the localSystem.")
    public class OVFManagerExportVMDK
    extends ConnectedVimServiceBase
     OVFManagerExportVMDK
    
     This is a demonstrates OVFManager.Exports VMDK's of a VM to the localSystem.
    
     Parameters:
     url              [required] : url of the web service.
     username         [required] : username for the authentication
     password         [required] : password for the authentication
     vmname           [required] : Name of the virtual machine
     host             [required] : Name of Host System
     localPath        [required] : Absolute path of localSystem folder
    
     Command Line:
     run.bat com.vmware.vapp.OVFManagerExportVMDK
     --url [webserviceurl] --username [username] --password [password]--vmname [VM name]
     --host [Name of Host]
     
    • Constructor Detail

      • OVFManagerExportVMDK

        public OVFManagerExportVMDK()
    • Method Detail

      • setVmname

        @Option(name="vmname",
                description="Name of the virtual machine")
        public void setVmname​(java.lang.String vmname)
      • setHost

        @Option(name="host",
                description="")
        public void setHost​(java.lang.String host)
      • setLocalPath

        @Option(name="localpath",
                description="Absolute path of localSystem folder")
        public void setLocalPath​(java.lang.String localPath)
      • run

        @Action
        public void run()
                 throws com.vmware.vim25.RuntimeFaultFaultMsg,
                        com.vmware.vim25.InvalidPropertyFaultMsg
        Throws:
        com.vmware.vim25.RuntimeFaultFaultMsg
        com.vmware.vim25.InvalidPropertyFaultMsg