共用方式為


WindowsEventLogDataSource Constructors

Definition

Overloads

WindowsEventLogDataSource()

Initializes a new instance of the WindowsEventLogDataSource class.

WindowsEventLogDataSource(IList<String>, IList<String>, String)

Initializes a new instance of the WindowsEventLogDataSource class.

WindowsEventLogDataSource()

Initializes a new instance of the WindowsEventLogDataSource class.

public WindowsEventLogDataSource ();
Public Sub New ()

Applies to

WindowsEventLogDataSource(IList<String>, IList<String>, String)

Initializes a new instance of the WindowsEventLogDataSource class.

public WindowsEventLogDataSource (System.Collections.Generic.IList<string> streams = default, System.Collections.Generic.IList<string> xPathQueries = default, string name = default);
new Microsoft.Azure.Management.Monitor.Models.WindowsEventLogDataSource : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * string -> Microsoft.Azure.Management.Monitor.Models.WindowsEventLogDataSource
Public Sub New (Optional streams As IList(Of String) = Nothing, Optional xPathQueries As IList(Of String) = 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 and usually what table in Log Analytics the data will be sent to.

xPathQueries
IList<String>

A list of Windows Event Log queries in XPATH format.

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