IncidentOperationsExtensions.ListForRuleAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.