IncidentOperationsExtensions.ListForRule Method (IIncidentOperations, String, Boolean)
Namespace: Microsoft.WindowsAzure.Management.Monitoring.Alerts
Assembly: Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)
Syntax
public static IncidentListResponse ListForRule(
this IIncidentOperations operations,
string ruleId,
bool isActive
)
public:
[ExtensionAttribute]
static IncidentListResponse^ ListForRule(
IIncidentOperations^ operations,
String^ ruleId,
bool isActive
)
static member ListForRule :
operations:IIncidentOperations *
ruleId:string *
isActive:bool -> IncidentListResponse
<ExtensionAttribute>
Public Shared Function ListForRule (
operations As IIncidentOperations,
ruleId As String,
isActive As Boolean
) As IncidentListResponse
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.IIncidentOperationsReference to the Microsoft.WindowsAzure.Management.Monitoring.Alerts.IIncidentOperations.
ruleId
Type: System.StringRequired. The rule id.
isActive
Type: System.BooleanRequired. A boolean to retrieve only active or resolved incidents.
Return Value
Type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.IncidentListResponse
The List incidents operation response.
See Also
IncidentOperationsExtensions Class
Microsoft.WindowsAzure.Management.Monitoring.Alerts Namespace
Return to top