Freigeben über


AlertProcessingRulesOperationsExtensions.ListByResourceGroupAsync Methode

Definition

Listet alle Warnungsverarbeitungsregeln in einer Ressourcengruppe auf.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AlertsManagement.Models.AlertProcessingRule>> ListByResourceGroupAsync (this Microsoft.Azure.Management.AlertsManagement.IAlertProcessingRulesOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.AlertsManagement.IAlertProcessingRulesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AlertsManagement.Models.AlertProcessingRule>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IAlertProcessingRulesOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of AlertProcessingRule))

Parameter

operations
IAlertProcessingRulesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Ressourcengruppenname, in dem die Ressource erstellt wird.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: