Class EventHistoryCollectorMonitor


  • @Sample(name="event-history-collector-monitor",
            description="This sample demonstrates how to create and monitor an EventHistoryCollector This sample uses the latestPage property of the EventHistoryCollector to filter the Events")
    public class EventHistoryCollectorMonitor
    extends ConnectedVimServiceBase
     EventHistoryCollectorMonitor
    
     This sample demonstrates how to create and monitor an EventHistoryCollector
     This sample uses the latestPage property of the EventHistoryCollector
     to filter the Events
    
     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.vm.EventHistoryCollectorMonitor
     --url [webserviceurl] --username [username] --password [password]
     
    • Constructor Detail

      • EventHistoryCollectorMonitor

        public EventHistoryCollectorMonitor()
    • Method Detail

      • run

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