Compartilhar via


ContainerRegistryResource.GetContainerRegistryWebhookAsync Método

Definição

Obtém as propriedades do webhook especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}
  • Operação IdWebhooks_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryWebhookResource>> GetContainerRegistryWebhookAsync (string webhookName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerRegistryWebhookAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryWebhookResource>>
override this.GetContainerRegistryWebhookAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryWebhookResource>>
Public Overridable Function GetContainerRegistryWebhookAsync (webhookName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerRegistryWebhookResource))

Parâmetros

webhookName
String

O nome do webhook.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

webhookName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

webhookName é nulo.

Aplica-se a