다음을 통해 공유


AlertRuleIncidentsOperationsExtensions.ListByAlertRule Method

Definition

Gets a list of incidents associated to an alert rule

public static System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Monitor.Models.Incident> ListByAlertRule (this Microsoft.Azure.Management.Monitor.IAlertRuleIncidentsOperations operations, string resourceGroupName, string ruleName);
static member ListByAlertRule : Microsoft.Azure.Management.Monitor.IAlertRuleIncidentsOperations * string * string -> seq<Microsoft.Azure.Management.Monitor.Models.Incident>
<Extension()>
Public Function ListByAlertRule (operations As IAlertRuleIncidentsOperations, resourceGroupName As String, ruleName As String) As IEnumerable(Of Incident)

Parameters

operations
IAlertRuleIncidentsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

ruleName
String

The name of the rule.

Returns

Applies to