Udostępnij za pośrednictwem


LogFilesDataSource Constructors

Definition

Overloads

LogFilesDataSource()

Initializes a new instance of the LogFilesDataSource class.

LogFilesDataSource(IList<String>, IList<String>, LogFilesDataSourceSettings, String)

Initializes a new instance of the LogFilesDataSource class.

LogFilesDataSource()

Initializes a new instance of the LogFilesDataSource class.

public LogFilesDataSource ();
Public Sub New ()

Applies to

LogFilesDataSource(IList<String>, IList<String>, LogFilesDataSourceSettings, String)

Initializes a new instance of the LogFilesDataSource class.

public LogFilesDataSource (System.Collections.Generic.IList<string> streams, System.Collections.Generic.IList<string> filePatterns, Microsoft.Azure.Management.Monitor.Models.LogFilesDataSourceSettings settings = default, string name = default);
new Microsoft.Azure.Management.Monitor.Models.LogFilesDataSource : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Monitor.Models.LogFilesDataSourceSettings * string -> Microsoft.Azure.Management.Monitor.Models.LogFilesDataSource
Public Sub New (streams As IList(Of String), filePatterns As IList(Of String), Optional settings As LogFilesDataSourceSettings = Nothing, Optional name As String = Nothing)

Parameters

streams
IList<String>

List of streams that this data source will be sent to. A stream indicates what schema will be used for this data source

filePatterns
IList<String>

File Patterns where the log files are located

settings
LogFilesDataSourceSettings

The log files specific settings.

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.

Applies to