DataSourcesSpec Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. DataSourcesSpec
- com.
Implements
public class DataSourcesSpec
implements JsonSerializable<DataSourcesSpec>
Specification of data sources that will be collected.
Constructor Summary
Constructor | Description |
---|---|
DataSourcesSpec() |
Creates an instance of Data |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Extension |
extensions()
Get the extensions property: The list of Azure VM extension data source configurations. |
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
List<Iis |
iisLogs()
Get the iis |
List<Log |
logFiles()
Get the log |
List<Perf |
performanceCounters()
Get the performance |
List<Syslog |
syslog()
Get the syslog property: The list of Syslog data source configurations. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
List<Windows |
windowsEventLogs()
Get the windows |
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 java.lang.Object
Constructor Details
DataSourcesSpec
public DataSourcesSpec()
Creates an instance of DataSourcesSpec class.
Method Details
extensions
public List
Get the extensions property: The list of Azure VM extension data source configurations.
Returns:
fromJson
public static DataSourcesSpec fromJson(JsonReader jsonReader)
Reads an instance of DataSourcesSpec from the JsonReader.
Parameters:
Returns:
Throws:
iisLogs
public List
Get the iisLogs property: The list of IIS logs source configurations.
Returns:
logFiles
public List
Get the logFiles property: The list of Log files source configurations.
Returns:
performanceCounters
public List
Get the performanceCounters property: The list of performance counter data source configurations.
Returns:
syslog
public List
Get the syslog property: The list of Syslog data source configurations.
Returns:
toJson
validate
public void validate()
Validates the instance.
windowsEventLogs
public List
Get the windowsEventLogs property: The list of Windows Event Log data source configurations.
Returns:
withExtensions
public DataSourcesSpec withExtensions(List
Set the extensions property: The list of Azure VM extension data source configurations.
Parameters:
Returns:
withIisLogs
public DataSourcesSpec withIisLogs(List
Set the iisLogs property: The list of IIS logs source configurations.
Parameters:
Returns:
withLogFiles
public DataSourcesSpec withLogFiles(List
Set the logFiles property: The list of Log files source configurations.
Parameters:
Returns:
withPerformanceCounters
public DataSourcesSpec withPerformanceCounters(List
Set the performanceCounters property: The list of performance counter data source configurations.
Parameters:
Returns:
withSyslog
public DataSourcesSpec withSyslog(List
Set the syslog property: The list of Syslog data source configurations.
Parameters:
Returns:
withWindowsEventLogs
public DataSourcesSpec withWindowsEventLogs(List
Set the windowsEventLogs property: The list of Windows Event Log data source configurations.
Parameters:
Returns:
Applies to
Azure SDK for Java