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

DiagnosticDetectorResponse 构造函数

定义

重载

DiagnosticDetectorResponse()

初始化 DiagnosticDetectorResponse 类的新实例。

DiagnosticDetectorResponse(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, DetectorDefinition, IList<DiagnosticMetricSet>, IList<DetectorAbnormalTimePeriod>, IList<IList<NameValuePair>>, ResponseMetaData)

初始化 DiagnosticDetectorResponse 类的新实例。

DiagnosticDetectorResponse()

初始化 DiagnosticDetectorResponse 类的新实例。

public DiagnosticDetectorResponse ();
Public Sub New ()

适用于

DiagnosticDetectorResponse(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, DetectorDefinition, IList<DiagnosticMetricSet>, IList<DetectorAbnormalTimePeriod>, IList<IList<NameValuePair>>, ResponseMetaData)

初始化 DiagnosticDetectorResponse 类的新实例。

public DiagnosticDetectorResponse (string id = default, string name = default, string kind = default, string type = default, DateTime? startTime = default, DateTime? endTime = default, bool? issueDetected = default, Microsoft.Azure.Management.WebSites.Models.DetectorDefinition detectorDefinition = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.DiagnosticMetricSet> metrics = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.DetectorAbnormalTimePeriod> abnormalTimePeriods = default, System.Collections.Generic.IList<System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.NameValuePair>> data = default, Microsoft.Azure.Management.WebSites.Models.ResponseMetaData responseMetaData = default);
new Microsoft.Azure.Management.WebSites.Models.DiagnosticDetectorResponse : string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Microsoft.Azure.Management.WebSites.Models.DetectorDefinition * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.DiagnosticMetricSet> * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.DetectorAbnormalTimePeriod> * System.Collections.Generic.IList<System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.NameValuePair>> * Microsoft.Azure.Management.WebSites.Models.ResponseMetaData -> Microsoft.Azure.Management.WebSites.Models.DiagnosticDetectorResponse
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional kind As String = Nothing, Optional type As String = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional issueDetected As Nullable(Of Boolean) = Nothing, Optional detectorDefinition As DetectorDefinition = Nothing, Optional metrics As IList(Of DiagnosticMetricSet) = Nothing, Optional abnormalTimePeriods As IList(Of DetectorAbnormalTimePeriod) = Nothing, Optional data As IList(Of IList(Of NameValuePair)) = Nothing, Optional responseMetaData As ResponseMetaData = Nothing)

参数

id
String

资源 ID。

name
String

资源名称。

kind
String

资源类型。

type
String

资源类型。

startTime
Nullable<DateTime>

时间段的开始时间

endTime
Nullable<DateTime>

时间段的结束时间

issueDetected
Nullable<Boolean>

检测到表示问题的标志。

detectorDefinition
DetectorDefinition

检测器的定义

metrics
IList<DiagnosticMetricSet>

检测器提供的指标

abnormalTimePeriods
IList<DetectorAbnormalTimePeriod>

检测器找到的相关事件列表

data
IList<IList<NameValuePair>>

检测器要发送的其他数据。

responseMetaData
ResponseMetaData

元数据

适用于