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

Source 构造函数

定义

重载

Source()

初始化 Source 类的新实例。

Source(String, String, IList<String>, String)

初始化 Source 类的新实例。

Source()

初始化 Source 类的新实例。

public Source ();
Public Sub New ()

适用于

Source(String, String, IList<String>, String)

初始化 Source 类的新实例。

public Source (string dataSourceId, string query = default, System.Collections.Generic.IList<string> authorizedResources = default, string queryType = default);
new Microsoft.Azure.Management.Monitor.Models.Source : string * string * System.Collections.Generic.IList<string> * string -> Microsoft.Azure.Management.Monitor.Models.Source
Public Sub New (dataSourceId As String, Optional query As String = Nothing, Optional authorizedResources As IList(Of String) = Nothing, Optional queryType As String = Nothing)

参数

dataSourceId
String

要对其运行日志搜索查询的资源 URI。

query
String

日志搜索查询。 操作类型是必需的 - AlertingAction

authorizedResources
IList<String>

引用到查询中的资源列表

queryType
String

将值设置为“ResultCount”。 可能的值包括:“ResultCount”

适用于