Partilhar via


ContainerRegistryWebhookResource.GetEventsAsync(CancellationToken) Método

Definição

Listar eventos recentes para o webhook especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents
  • Operação IdWebhooks_ListEvents
public virtual Azure.AsyncPageable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEvent> GetEventsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEventsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEvent>
override this.GetEventsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEvent>
Public Overridable Function GetEventsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ContainerRegistryWebhookEvent)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de ContainerRegistryWebhookEvent que pode levar várias solicitações de serviço para iterar.

Aplica-se a