@Sample(name="ovf-manager-export-vapp",
description="This sample demonstrates OVFManager.\nExports VMDK\'s and OVF Descriptor of all VM\'s in the vApps")
public class OVFManagerExportVAPP
extends ConnectedVimServiceBase
OVFManagerExportVAPP This sample demonstrates OVFManager. Exports VMDK's and OVF Descriptor of all VM's in the vApps Parameters: username [required]: username for the authentication password [required]: password for the authentication host [required]: Name of the host system vapp [required]: Name of the vapp localpath [required]: local System Folder path Command Line: run.bat com.vmware.httpfileaccess.OVFManagerExportVAPP --url [URLString] --username [username] --password [password] --host [Host name] --vapp [Vapp Name] --localpath [Local Path]
ConnectedVimServiceBase.ConnectionExceptionPROP_ME_NAME, SVC_INST_NAME| Constructor and Description |
|---|
OVFManagerExportVAPP() |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
void |
setHost(java.lang.String host) |
void |
setLocalpath(java.lang.String localpath) |
void |
setvApp(java.lang.String vApp) |
basicConnectionFromConnection, connect, disconnect, getServiceInstanceReference, setConnection, setHostConnection@Option(name="vapp",
description="Name of the vapp")
public void setvApp(java.lang.String vApp)
@Option(name="localpath",
description="local System Folder path")
public void setLocalpath(java.lang.String localpath)
@Option(name="host",
description="Name of the host")
public void setHost(java.lang.String host)
@Action
public void run()
throws com.vmware.vim25.RuntimeFaultFaultMsg,
com.vmware.vim25.TaskInProgressFaultMsg,
com.vmware.vim25.VmConfigFaultFaultMsg,
java.io.IOException,
com.vmware.vim25.InvalidPropertyFaultMsg,
com.vmware.vim25.FileFaultFaultMsg,
com.vmware.vim25.ConcurrentAccessFaultMsg,
com.vmware.vim25.InvalidStateFaultMsg,
com.vmware.vim25.InvalidCollectorVersionFaultMsg,
com.vmware.vim25.InvalidPowerStateFaultMsg,
com.vmware.vim25.TimedoutFaultMsg
com.vmware.vim25.RuntimeFaultFaultMsgcom.vmware.vim25.TaskInProgressFaultMsgcom.vmware.vim25.VmConfigFaultFaultMsgjava.io.IOExceptioncom.vmware.vim25.InvalidPropertyFaultMsgcom.vmware.vim25.FileFaultFaultMsgcom.vmware.vim25.ConcurrentAccessFaultMsgcom.vmware.vim25.InvalidStateFaultMsgcom.vmware.vim25.InvalidCollectorVersionFaultMsgcom.vmware.vim25.InvalidPowerStateFaultMsgcom.vmware.vim25.TimedoutFaultMsg