Compartilhar via


AutomationWebhookResource.UpdateAsync Método

Definição

Atualize o webhook identificado pelo nome do webhook.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}
  • Operação IdWebhook_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationWebhookResource>> UpdateAsync (Azure.ResourceManager.Automation.Models.AutomationWebhookPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Automation.Models.AutomationWebhookPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationWebhookResource>>
override this.UpdateAsync : Azure.ResourceManager.Automation.Models.AutomationWebhookPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationWebhookResource>>
Public Overridable Function UpdateAsync (patch As AutomationWebhookPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomationWebhookResource))

Parâmetros

patch
AutomationWebhookPatch

Os parâmetros de atualização para webhook.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a