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 | Description |
---|---|
Data |
Creates an instance of Data |
Modifier and Type | Method and Description |
---|---|
List<Extension |
extensions()
Get the extensions property: The list of Azure VM extension data source configurations. |
static
Data |
from Reads an instance of Data |
List<Iis |
iis Get the iis |
List<Log |
log Get the log |
List<Perf |
performance Get the performance |
List<Syslog |
syslog()
Get the syslog property: The list of Syslog data source configurations. |
Json |
to |
void |
validate()
Validates the instance. |
List<Windows |
windows Get the windows |
Data |
with Set the extensions property: The list of Azure VM extension data source configurations. |
Data |
with Set the iis |
Data |
with Set the log |
Data |
with Set the performance |
Data |
with Set the syslog property: The list of Syslog data source configurations. |
Data |
with Set the windows |
Methods inherited from java.lang.Object
DataSourcesSpec
public DataSourcesSpec()
Creates an instance of DataSourcesSpec class.
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: