Class DataSourcesSpec

    • Constructor Detail

      • DataSourcesSpec

        public DataSourcesSpec()
    • Method Detail

      • performanceCounters

        public List<PerfCounterDataSource> performanceCounters()
        Get the performanceCounters property: The list of performance counter data source configurations.
        Returns:
        the performanceCounters value.
      • withPerformanceCounters

        public DataSourcesSpec withPerformanceCounters​(List<PerfCounterDataSource> performanceCounters)
        Set the performanceCounters property: The list of performance counter data source configurations.
        Parameters:
        performanceCounters - the performanceCounters value to set.
        Returns:
        the DataSourcesSpec object itself.
      • windowsEventLogs

        public List<WindowsEventLogDataSource> windowsEventLogs()
        Get the windowsEventLogs property: The list of Windows Event Log data source configurations.
        Returns:
        the windowsEventLogs value.
      • withWindowsEventLogs

        public DataSourcesSpec withWindowsEventLogs​(List<WindowsEventLogDataSource> windowsEventLogs)
        Set the windowsEventLogs property: The list of Windows Event Log data source configurations.
        Parameters:
        windowsEventLogs - the windowsEventLogs value to set.
        Returns:
        the DataSourcesSpec object itself.
      • syslog

        public List<SyslogDataSource> syslog()
        Get the syslog property: The list of Syslog data source configurations.
        Returns:
        the syslog value.
      • withSyslog

        public DataSourcesSpec withSyslog​(List<SyslogDataSource> syslog)
        Set the syslog property: The list of Syslog data source configurations.
        Parameters:
        syslog - the syslog value to set.
        Returns:
        the DataSourcesSpec object itself.
      • extensions

        public List<ExtensionDataSource> extensions()
        Get the extensions property: The list of Azure VM extension data source configurations.
        Returns:
        the extensions value.
      • withExtensions

        public DataSourcesSpec withExtensions​(List<ExtensionDataSource> extensions)
        Set the extensions property: The list of Azure VM extension data source configurations.
        Parameters:
        extensions - the extensions value to set.
        Returns:
        the DataSourcesSpec object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.