Freigeben über


WebhooksOperationsExtensions.ListEventsAsync Methode

Definition

Listet die aktuellen Ereignisse für den angegebenen Webhook auf.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.EventModel>> ListEventsAsync (this Microsoft.Azure.Management.ContainerRegistry.Fluent.IWebhooksOperations operations, string resourceGroupName, string registryName, string webhookName, System.Threading.CancellationToken cancellationToken = default);
static member ListEventsAsync : Microsoft.Azure.Management.ContainerRegistry.Fluent.IWebhooksOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.EventModel>>
<Extension()>
Public Function ListEventsAsync (operations As IWebhooksOperations, resourceGroupName As String, registryName As String, webhookName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of EventModel))

Parameter

operations
IWebhooksOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, zu der die Containerregistrierung gehört.

registryName
String

Der Name der Containerregistrierung.

webhookName
String

Der Name des Webhooks.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: