IncidentOperationsExtensions.ListForRuleAsync Method (IIncidentOperations, String, Boolean)
Namespace:
Microsoft.WindowsAzure.Management.Monitoring.Alerts
Assembly: Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)
<ExtensionAttribute> Public Shared Function ListForRuleAsync ( operations As IIncidentOperations, ruleId As String, isActive As Boolean ) As Task(Of IncidentListResponse)
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Monitoring.Alerts.IIncidentOperations
Reference to the Microsoft.WindowsAzure.Management.Monitoring.Alerts.IIncidentOperations.
- ruleId
-
Type:
System.String
Required. The rule id.
- isActive
-
Type:
System.Boolean
Required. A boolean to retrieve only active or resolved incidents.
Return Value
Type: System.Threading.Tasks.Task(Of IncidentListResponse)The List incidents operation response.
Show: