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

DetectorAbnormalTimePeriod 构造函数

定义

重载

DetectorAbnormalTimePeriod()

初始化 DetectorAbnormalTimePeriod 类的新实例。

DetectorAbnormalTimePeriod(Nullable<DateTime>, Nullable<DateTime>, String, String, Nullable<Double>, IList<IList<NameValuePair>>, Nullable<IssueType>, IList<Solution>)

初始化 DetectorAbnormalTimePeriod 类的新实例。

DetectorAbnormalTimePeriod()

初始化 DetectorAbnormalTimePeriod 类的新实例。

public DetectorAbnormalTimePeriod ();
Public Sub New ()

适用于

DetectorAbnormalTimePeriod(Nullable<DateTime>, Nullable<DateTime>, String, String, Nullable<Double>, IList<IList<NameValuePair>>, Nullable<IssueType>, IList<Solution>)

初始化 DetectorAbnormalTimePeriod 类的新实例。

public DetectorAbnormalTimePeriod (DateTime? startTime = default, DateTime? endTime = default, string message = default, string source = default, double? priority = default, System.Collections.Generic.IList<System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.NameValuePair>> metaData = default, Microsoft.Azure.Management.WebSites.Models.IssueType? type = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.Solution> solutions = default);
new Microsoft.Azure.Management.WebSites.Models.DetectorAbnormalTimePeriod : Nullable<DateTime> * Nullable<DateTime> * string * string * Nullable<double> * System.Collections.Generic.IList<System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.NameValuePair>> * Nullable<Microsoft.Azure.Management.WebSites.Models.IssueType> * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.Solution> -> Microsoft.Azure.Management.WebSites.Models.DetectorAbnormalTimePeriod
Public Sub New (Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional message As String = Nothing, Optional source As String = Nothing, Optional priority As Nullable(Of Double) = Nothing, Optional metaData As IList(Of IList(Of NameValuePair)) = Nothing, Optional type As Nullable(Of IssueType) = Nothing, Optional solutions As IList(Of Solution) = Nothing)

参数

startTime
Nullable<DateTime>

相关事件的开始时间

endTime
Nullable<DateTime>

相关事件的结束时间

message
String

描述事件的消息

source
String

表示检测器的名称

priority
Nullable<Double>

表示检测器的排名

metaData
IList<IList<NameValuePair>>

停机时间元数据

type
Nullable<IssueType>

表示检测器的类型。 可能的值包括:“ServiceIncident”、“AppDeployment”、“AppCrash”、“RuntimeIssueDetected”、“AseDeployment”、“UserIssue”、“PlatformIssue”、“Other”

solutions
IList<Solution>

建议的解决方案列表

适用于