Language

ArmMonitorModelFactory.IisLogsDataSource Method

Definition

Enables IIS logs to be collected by this data collection rule.

public static Azure.ResourceManager.Monitor.Models.IisLogsDataSource IisLogsDataSource(System.Collections.Generic.IEnumerable<string> streams = default, System.Collections.Generic.IEnumerable<string> logDirectories = default, string transformKql = default, string name = default);
static member IisLogsDataSource : seq<string> * seq<string> * string * string -> Azure.ResourceManager.Monitor.Models.IisLogsDataSource
Public Shared Function IisLogsDataSource (Optional streams As IEnumerable(Of String) = Nothing, Optional logDirectories As IEnumerable(Of String) = Nothing, Optional transformKql As String = Nothing, Optional name As String = Nothing) As IisLogsDataSource

Parameters

streams
IEnumerable<String>

IIS streams.

logDirectories
IEnumerable<String>

Absolute paths file location.

transformKql
String

The KQL query to transform the data source. This is a deprecated property and will be removed in future versions.

name
String

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

A new IisLogsDataSource instance for mocking.

Applies to