Compartilhar via


ContainerRegistryWebhookCollection.Get(String, CancellationToken) 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 Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryWebhookResource> Get (string webhookName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryWebhookResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryWebhookResource>
Public Overridable Function Get (webhookName As String, Optional cancellationToken As CancellationToken = Nothing) As 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