你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SyslogDataSource 构造函数

定义

重载

SyslogDataSource()

初始化 SyslogDataSource 类的新实例。

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

初始化 SyslogDataSource 类的新实例。

SyslogDataSource()

初始化 SyslogDataSource 类的新实例。

public SyslogDataSource ();
Public Sub New ()

适用于

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

初始化 SyslogDataSource 类的新实例。

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)

参数

streams
IList<String>

此数据源将发送到的流列表。 流指示将用于此数据的架构,以及通常会将数据发送到 Log Analytics 中的表。

facilityNames
IList<String>

设施名称的列表。

logLevels
IList<String>

要收集的日志级别。

name
String

数据源的友好名称。 无论数据收集规则中的类型) ,此名称在 (的所有数据源中都应是唯一的。

适用于