@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]
| Modifier and Type | Class and Description |
|---|---|
class |
OVFManagerExportVMDK.HttpNfcLeaseExtender
The Class HttpNfcLeaseExtender.
|
ConnectedVimServiceBase.ConnectionExceptionPROP_ME_NAME, SVC_INST_NAME| Constructor and Description |
|---|
OVFManagerExportVMDK() |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
void |
setHost(java.lang.String host) |
void |
setLocalPath(java.lang.String localPath) |
void |
setVmname(java.lang.String vmname) |
basicConnectionFromConnection, connect, disconnect, getServiceInstanceReference, setConnection, setHostConnection@Option(name="vmname",
description="Name of the virtual machine")
public void setVmname(java.lang.String vmname)
@Option(name="host",
description="")
public void setHost(java.lang.String host)
@Option(name="localpath",
description="Absolute path of localSystem folder")
public void setLocalPath(java.lang.String localPath)
@Action
public void run()
throws com.vmware.vim25.RuntimeFaultFaultMsg,
com.vmware.vim25.InvalidPropertyFaultMsg
com.vmware.vim25.RuntimeFaultFaultMsgcom.vmware.vim25.InvalidPropertyFaultMsg