Class EventFormat


  • @Sample(name="event-format",
            description="This sample retrieves and formats the lastEvent from Hostd or Vpxd")
    public class EventFormat
    extends ConnectedVimServiceBase
     EventFormat
    
     This sample retrieves and formats the lastEvent from Hostd or Vpxd
    
     Parameters:
     url          [required] : url of the web service.
     username     [required] : username for the authentication.
     password     [required] : password for the authentication
    
     Command Line:
     run.bat com.vmware.events.EventFormat --url [webserviceurl]
     --username [username] --password [password]
     
    • Constructor Detail

      • EventFormat

        public EventFormat()
    • Method Detail

      • run

        @Action
        public void run()
                 throws com.vmware.vim25.RuntimeFaultFaultMsg,
                        com.vmware.vim25.InvalidPropertyFaultMsg
        Throws:
        com.vmware.vim25.RuntimeFaultFaultMsg
        com.vmware.vim25.InvalidPropertyFaultMsg