Class RealTime


  • @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]
     
    • Constructor Detail

      • RealTime

        public RealTime()
    • Method Detail

      • setVirtualmachinename

        @Option(name="vmname",
                description="name of the vm")
        public void setVirtualmachinename​(java.lang.String virtualmachinename)
      • run

        @Action
        public void run()
                 throws com.vmware.vim25.RuntimeFaultFaultMsg,
                        java.io.IOException,
                        java.lang.InterruptedException,
                        com.vmware.vim25.InvalidPropertyFaultMsg
        Throws:
        com.vmware.vim25.RuntimeFaultFaultMsg
        java.io.IOException
        java.lang.InterruptedException
        com.vmware.vim25.InvalidPropertyFaultMsg