Compartilhar via


AutomationAccountResource.GetAutomationWebhookAsync 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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationWebhookResource>> GetAutomationWebhookAsync (string webhookName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAutomationWebhookAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationWebhookResource>>
override this.GetAutomationWebhookAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationWebhookResource>>
Public Overridable Function GetAutomationWebhookAsync (webhookName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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