Class IisLogsDataSource
java.lang.Object
com.azure.resourcemanager.monitor.models.IisLogsDataSource
Enables IIS logs to be collected by this data collection rule.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the logDirectories property: Absolute paths file location.name()Get the name property: A friendly name for the data source.streams()Get the streams property: IIS streams.voidvalidate()Validates the instance.withLogDirectories(List<String> logDirectories) Set the logDirectories property: Absolute paths file location.Set the name property: A friendly name for the data source.withStreams(List<String> streams) Set the streams property: IIS streams.
-
Constructor Details
-
IisLogsDataSource
public IisLogsDataSource()Creates an instance of IisLogsDataSource class.
-
-
Method Details
-
streams
Get the streams property: IIS streams.- Returns:
- the streams value.
-
withStreams
Set the streams property: IIS streams.- Parameters:
streams- the streams value to set.- Returns:
- the IisLogsDataSource object itself.
-
logDirectories
Get the logDirectories property: Absolute paths file location.- Returns:
- the logDirectories value.
-
withLogDirectories
Set the logDirectories property: Absolute paths file location.- Parameters:
logDirectories- the logDirectories value to set.- Returns:
- the IisLogsDataSource object itself.
-
name
Get the name property: A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.- Returns:
- the name value.
-
withName
Set the name property: A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.- Parameters:
name- the name value to set.- Returns:
- the IisLogsDataSource object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-