Partilhar via


AutomationWebhookCollection.Get(String, CancellationToken) Método

Definição

Recupere o webhook identificado pelo nome do webhook.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}
  • IdWebhook_Get de operação
public virtual Azure.Response<Azure.ResourceManager.Automation.AutomationWebhookResource> Get (string webhookName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationWebhookResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationWebhookResource>
Public Overridable Function Get (webhookName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AutomationWebhookResource)

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 era esperado que não estivesse vazio.

webhookName é nulo.

Aplica-se a