IIncidentOperations.ListForRuleAsync Method (String, Boolean, CancellationToken)
Namespace:
Microsoft.WindowsAzure.Management.Monitoring.Alerts
Assembly: Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)
Function ListForRuleAsync ( ruleId As String, isActive As Boolean, cancellationToken As CancellationToken ) As Task(Of IncidentListResponse)
Parameters
- ruleId
-
Type:
System.String
The rule id.
- isActive
-
Type:
System.Boolean
A boolean to retrieve only active or resolved incidents.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task(Of IncidentListResponse)The List incidents operation response.
Show: