Package com.vmware.vapp
Class OVFManagerExportVMDK
- java.lang.Object
-
- com.vmware.connection.ConnectedVimServiceBase
-
- com.vmware.vapp.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 ConnectedVimServiceBaseOVFManagerExportVMDK 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]
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classOVFManagerExportVMDK.HttpNfcLeaseExtenderThe Class HttpNfcLeaseExtender.-
Nested classes/interfaces inherited from class com.vmware.connection.ConnectedVimServiceBase
ConnectedVimServiceBase.ConnectionException
-
-
Field Summary
-
Fields inherited from class com.vmware.connection.ConnectedVimServiceBase
PROP_ME_NAME, SVC_INST_NAME
-
-
Constructor Summary
Constructors Constructor Description OVFManagerExportVMDK()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()voidsetHost(java.lang.String host)voidsetLocalPath(java.lang.String localPath)voidsetVmname(java.lang.String vmname)-
Methods inherited from class com.vmware.connection.ConnectedVimServiceBase
basicConnectionFromConnection, connect, disconnect, getServiceInstanceReference, setConnection, setHostConnection
-
-
-
-
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.RuntimeFaultFaultMsgcom.vmware.vim25.InvalidPropertyFaultMsg
-
-