DataCollectionRuleDataSources Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. DataSourcesSpec - com.
azure. resourcemanager. monitor. models. DataCollectionRuleDataSources
- com.
- com.
public final class DataCollectionRuleDataSources
extends DataSourcesSpec
The specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
Constructor Summary
Constructor | Description |
---|---|
DataCollectionRuleDataSources() |
Creates an instance of Data |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Data |
withExtensions(List<ExtensionDataSource> extensions)
Set the extensions property: The list of Azure VM extension data source configurations. |
Data |
withIisLogs(List<IisLogsDataSource> iisLogs)
Set the iis |
Data |
withLogFiles(List<LogFilesDataSource> logFiles)
Set the log |
Data |
withPerformanceCounters(List<PerfCounterDataSource> performanceCounters)
Set the performance |
Data |
withSyslog(List<SyslogDataSource> syslog)
Set the syslog property: The list of Syslog data source configurations. |
Data |
withWindowsEventLogs(List<WindowsEventLogDataSource> windowsEventLogs)
Set the windows |
Methods inherited from DataSourcesSpec
Methods inherited from java.lang.Object
Constructor Details
DataCollectionRuleDataSources
public DataCollectionRuleDataSources()
Creates an instance of DataCollectionRuleDataSources class.
Method Details
fromJson
public static DataCollectionRuleDataSources fromJson(JsonReader jsonReader)
Reads an instance of DataCollectionRuleDataSources from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DataCollectionRuleDataSources.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
DataCollectionRuleDataSources.validate()withExtensions
public DataCollectionRuleDataSources withExtensions(List
Set the extensions property: The list of Azure VM extension data source configurations.
Overrides:
DataCollectionRuleDataSources.withExtensions(List<ExtensionDataSource> extensions)Parameters:
withIisLogs
public DataCollectionRuleDataSources withIisLogs(List
Set the iisLogs property: The list of IIS logs source configurations.
Overrides:
DataCollectionRuleDataSources.withIisLogs(List<IisLogsDataSource> iisLogs)Parameters:
withLogFiles
public DataCollectionRuleDataSources withLogFiles(List
Set the logFiles property: The list of Log files source configurations.
Overrides:
DataCollectionRuleDataSources.withLogFiles(List<LogFilesDataSource> logFiles)Parameters:
withPerformanceCounters
public DataCollectionRuleDataSources withPerformanceCounters(List
Set the performanceCounters property: The list of performance counter data source configurations.
Overrides:
DataCollectionRuleDataSources.withPerformanceCounters(List<PerfCounterDataSource> performanceCounters)Parameters:
withSyslog
public DataCollectionRuleDataSources withSyslog(List
Set the syslog property: The list of Syslog data source configurations.
Overrides:
DataCollectionRuleDataSources.withSyslog(List<SyslogDataSource> syslog)Parameters:
withWindowsEventLogs
public DataCollectionRuleDataSources withWindowsEventLogs(List
Set the windowsEventLogs property: The list of Windows Event Log data source configurations.
Overrides:
DataCollectionRuleDataSources.withWindowsEventLogs(List<WindowsEventLogDataSource> windowsEventLogs)Parameters:
Applies to
Azure SDK for Java