IisLogsDataSource Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. IisLogsDataSource
- com.
Implements
public final class IisLogsDataSource
implements JsonSerializable<IisLogsDataSource>
Enables IIS logs to be collected by this data collection rule.
Constructor Summary
Constructor | Description |
---|---|
IisLogsDataSource() |
Creates an instance of Iis |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Iis |
fromJson(JsonReader jsonReader)
Reads an instance of Iis |
List<String> |
logDirectories()
Get the log |
String |
name()
Get the name property: A friendly name for the data source. |
List<String> |
streams()
Get the streams property: IIS streams. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Iis |
withLogDirectories(List<String> logDirectories)
Set the log |
Iis |
withName(String name)
Set the name property: A friendly name for the data source. |
Iis |
withStreams(List<String> streams)
Set the streams property: IIS streams. |
Methods inherited from java.lang.Object
Constructor Details
IisLogsDataSource
public IisLogsDataSource()
Creates an instance of IisLogsDataSource class.
Method Details
fromJson
public static IisLogsDataSource fromJson(JsonReader jsonReader)
Reads an instance of IisLogsDataSource from the JsonReader.
Parameters:
Returns:
Throws:
logDirectories
public List
Get the logDirectories property: Absolute paths file location.
Returns:
name
public String 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:
streams
public List
Get the streams property: IIS streams.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLogDirectories
public IisLogsDataSource withLogDirectories(List
Set the logDirectories property: Absolute paths file location.
Parameters:
Returns:
withName
public IisLogsDataSource withName(String name)
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:
Returns:
withStreams
public IisLogsDataSource withStreams(List
Set the streams property: IIS streams.
Parameters:
Returns:
Applies to
Azure SDK for Java