IIncidentOperations.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 System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.IncidentListResponse> ListForRuleAsync (string ruleId, bool isActive, System.Threading.CancellationToken cancellationToken);
abstract member ListForRuleAsync : string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.IncidentListResponse>
Public Function ListForRuleAsync (ruleId As String, isActive As Boolean, cancellationToken As CancellationToken) As Task(Of IncidentListResponse)
Parameters
- ruleId
- String
The rule id.
- isActive
- Boolean
A boolean to retrieve only active or resolved incidents.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The List incidents operation response.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET