Compartir a través de


AutomationAccountResource.GetAutomationWebhookAsync Método

Definición

Recupere el webhook identificado por el nombre del webhook.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}
  • IdWebhook_Get de operaciones
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

Nombre del webhook.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

webhookName es una cadena vacía y se esperaba que no estuviera vacía.

webhookName es null.

Se aplica a