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

IncidentOperationsExtensions.ListForRule 方法

定义

public static Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.IncidentListResponse ListForRule (this Microsoft.WindowsAzure.Management.Monitoring.Alerts.IIncidentOperations operations, string ruleId, bool isActive);
static member ListForRule : Microsoft.WindowsAzure.Management.Monitoring.Alerts.IIncidentOperations * string * bool -> Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.IncidentListResponse
<Extension()>
Public Function ListForRule (operations As IIncidentOperations, ruleId As String, isActive As Boolean) As IncidentListResponse

参数

operations
IIncidentOperations

对 Microsoft.WindowsAzure.Management.Monitoring.Alerts.IIncidentOperations 的引用。

ruleId
String

必需。 规则 ID。

isActive
Boolean

必需。 一个布尔值,仅检索活动或已解决的事件。

返回

列出事件操作响应。

适用于