AlertRuleIncidentsOperationsExtensions.ListByAlertRuleAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a list of incidents associated to an alert rule
public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Monitor.Models.Incident>> ListByAlertRuleAsync (this Microsoft.Azure.Management.Monitor.IAlertRuleIncidentsOperations operations, string resourceGroupName, string ruleName, System.Threading.CancellationToken cancellationToken = default);
static member ListByAlertRuleAsync : Microsoft.Azure.Management.Monitor.IAlertRuleIncidentsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Monitor.Models.Incident>>
<Extension()>
Public Function ListByAlertRuleAsync (operations As IAlertRuleIncidentsOperations, resourceGroupName As String, ruleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET