Share via


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

  • isActive
    Type: System.Boolean

    A boolean to retrieve only active or resolved incidents.

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