IncidentOperationsExtensions.ListForRuleAsync Method

Definition

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)

Parameters

operations
IIncidentOperations

Reference to the Microsoft.WindowsAzure.Management.Monitoring.Alerts.IIncidentOperations.

ruleId
String

Required. The rule id.

isActive
Boolean

Required. A boolean to retrieve only active or resolved incidents.

Returns

The List incidents operation response.

Applies to