Class DataSourcesSpec
java.lang.Object
com.azure.resourcemanager.monitor.models.DataSourcesSpec
- Direct Known Subclasses:
DataCollectionRuleDataSources
Specification of data sources that will be collected.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the extensions property: The list of Azure VM extension data source configurations.iisLogs()Get the iisLogs property: The list of IIS logs source configurations.logFiles()Get the logFiles property: The list of Log files source configurations.Get the performanceCounters property: The list of performance counter data source configurations.syslog()Get the syslog property: The list of Syslog data source configurations.voidvalidate()Validates the instance.Get the windowsEventLogs property: The list of Windows Event Log data source configurations.withExtensions(List<ExtensionDataSource> extensions) Set the extensions property: The list of Azure VM extension data source configurations.withIisLogs(List<IisLogsDataSource> iisLogs) Set the iisLogs property: The list of IIS logs source configurations.withLogFiles(List<LogFilesDataSource> logFiles) Set the logFiles property: The list of Log files source configurations.withPerformanceCounters(List<PerfCounterDataSource> performanceCounters) Set the performanceCounters property: The list of performance counter data source configurations.withSyslog(List<SyslogDataSource> syslog) Set the syslog property: The list of Syslog data source configurations.withWindowsEventLogs(List<WindowsEventLogDataSource> windowsEventLogs) Set the windowsEventLogs property: The list of Windows Event Log data source configurations.
-
Constructor Details
-
DataSourcesSpec
public DataSourcesSpec()Creates an instance of DataSourcesSpec class.
-
-
Method Details
-
performanceCounters
Get the performanceCounters property: The list of performance counter data source configurations.- Returns:
- the performanceCounters value.
-
withPerformanceCounters
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
Get the windowsEventLogs property: The list of Windows Event Log data source configurations.- Returns:
- the windowsEventLogs value.
-
withWindowsEventLogs
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
Get the syslog property: The list of Syslog data source configurations.- Returns:
- the syslog value.
-
withSyslog
Set the syslog property: The list of Syslog data source configurations.- Parameters:
syslog- the syslog value to set.- Returns:
- the DataSourcesSpec object itself.
-
extensions
Get the extensions property: The list of Azure VM extension data source configurations.- Returns:
- the extensions value.
-
withExtensions
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.
-
logFiles
Get the logFiles property: The list of Log files source configurations.- Returns:
- the logFiles value.
-
withLogFiles
Set the logFiles property: The list of Log files source configurations.- Parameters:
logFiles- the logFiles value to set.- Returns:
- the DataSourcesSpec object itself.
-
iisLogs
Get the iisLogs property: The list of IIS logs source configurations.- Returns:
- the iisLogs value.
-
withIisLogs
Set the iisLogs property: The list of IIS logs source configurations.- Parameters:
iisLogs- the iisLogs value to set.- Returns:
- the DataSourcesSpec object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-