你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IncidentOperationsExtensions.ListForRuleAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.IncidentListResponse> ListForRuleAsync (this Microsoft.WindowsAzure.Management.Monitoring.Alerts.IIncidentOperations operations, string ruleId, bool isActive);
static member ListForRuleAsync : Microsoft.WindowsAzure.Management.Monitoring.Alerts.IIncidentOperations * string * bool -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.IncidentListResponse>
<Extension()>
Public Function ListForRuleAsync (operations As IIncidentOperations, ruleId As String, isActive As Boolean) As Task(Of IncidentListResponse)
参数
- operations
- IIncidentOperations
对 Microsoft.WindowsAzure.Management.Monitoring.Alerts.IIncidentOperations 的引用。
- ruleId
- String
必需。 规则 ID。
- isActive
- Boolean
必需。 一个布尔值,仅检索活动事件或已解决的事件。
返回
列出事件操作响应。