Share via


IncidentOperationsExtensions.ListForRuleAsync Method (IIncidentOperations, String, Boolean)

 

Namespace:   Microsoft.WindowsAzure.Management.Monitoring.Alerts
Assembly:  Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)

Syntax

public static Task<IncidentListResponse> ListForRuleAsync(
    this IIncidentOperations operations,
    string ruleId,
    bool isActive
)
public:
[ExtensionAttribute]
static Task<IncidentListResponse^>^ ListForRuleAsync(
    IIncidentOperations^ operations,
    String^ ruleId,
    bool isActive
)
static member ListForRuleAsync : 
        operations:IIncidentOperations *
        ruleId:string *
        isActive:bool -> Task<IncidentListResponse>
<ExtensionAttribute>
Public Shared Function ListForRuleAsync (
    operations As IIncidentOperations,
    ruleId As String,
    isActive As Boolean
) As Task(Of IncidentListResponse)

Parameters

  • isActive
    Type: System.Boolean

    Required. A boolean to retrieve only active or resolved incidents.

Return Value

Type: System.Threading.Tasks.Task<IncidentListResponse>

The List incidents operation response.

See Also

IncidentOperationsExtensions Class
Microsoft.WindowsAzure.Management.Monitoring.Alerts Namespace

Return to top