@Sample(name="realtime-performance",
description=" This sample displays performance measurements from the current time at the console")
public class RealTime
extends ConnectedVimServiceBase
RealTime This sample displays performance measurements from the current time at the console 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 vm Command Line: run.bat com.vmware.performance.RealTime --url [webservice url] --username [user] --password [password] --vmname [name of the vm]
ConnectedVimServiceBase.ConnectionExceptionPROP_ME_NAME, SVC_INST_NAME| Constructor and Description |
|---|
RealTime() |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
void |
setVirtualmachinename(java.lang.String virtualmachinename) |
basicConnectionFromConnection, connect, disconnect, getServiceInstanceReference, setConnection, setHostConnection@Option(name="vmname",
description="name of the vm")
public void setVirtualmachinename(java.lang.String virtualmachinename)
@Action
public void run()
throws com.vmware.vim25.RuntimeFaultFaultMsg,
java.io.IOException,
java.lang.InterruptedException,
com.vmware.vim25.InvalidPropertyFaultMsg
com.vmware.vim25.RuntimeFaultFaultMsgjava.io.IOExceptionjava.lang.InterruptedExceptioncom.vmware.vim25.InvalidPropertyFaultMsg