IIncidentOperations.ListForRuleAsync Method (String, Boolean, CancellationToken)
Namespace: Microsoft.WindowsAzure.Management.Monitoring.Alerts
Assembly: Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)
Syntax
Task<IncidentListResponse> ListForRuleAsync(
string ruleId,
bool isActive,
CancellationToken cancellationToken
)
Task<IncidentListResponse^>^ ListForRuleAsync(
String^ ruleId,
bool isActive,
CancellationToken cancellationToken
)
abstract ListForRuleAsync :
ruleId:string *
isActive:bool *
cancellationToken:CancellationToken -> Task<IncidentListResponse>
Function ListForRuleAsync (
ruleId As String,
isActive As Boolean,
cancellationToken As CancellationToken
) As Task(Of IncidentListResponse)
Parameters
ruleId
Type: System.StringThe rule id.
isActive
Type: System.BooleanA boolean to retrieve only active or resolved incidents.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<IncidentListResponse>
The List incidents operation response.
See Also
IIncidentOperations Interface
Microsoft.WindowsAzure.Management.Monitoring.Alerts Namespace
Return to top