Partilhar via


ContainerRegistryWebhookResource.GetEvents(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.Pageable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEvent> GetEvents (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEvents : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEvent>
override this.GetEvents : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEvent>
Public Overridable Function GetEvents (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ContainerRegistryWebhookEvent)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Aplica-se a