Udostępnij za pośrednictwem


SyslogDataSource Constructors

Definition

Overloads

SyslogDataSource()

Initializes a new instance of the SyslogDataSource class.

SyslogDataSource(IList<String>, IList<String>, IList<String>, String)

Initializes a new instance of the SyslogDataSource class.

SyslogDataSource()

Initializes a new instance of the SyslogDataSource class.

public SyslogDataSource ();
Public Sub New ()

Applies to

SyslogDataSource(IList<String>, IList<String>, IList<String>, String)

Initializes a new instance of the SyslogDataSource class.

public SyslogDataSource (System.Collections.Generic.IList<string> streams = default, System.Collections.Generic.IList<string> facilityNames = default, System.Collections.Generic.IList<string> logLevels = default, string name = default);
new Microsoft.Azure.Management.Monitor.Models.SyslogDataSource : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * string -> Microsoft.Azure.Management.Monitor.Models.SyslogDataSource
Public Sub New (Optional streams As IList(Of String) = Nothing, Optional facilityNames As IList(Of String) = Nothing, Optional logLevels 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.

facilityNames
IList<String>

The list of facility names.

logLevels
IList<String>

The log levels to collect.

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