共用方式為


AutomationWebhookResource.UpdateAsync Method

Definition

Update the webhook identified by webhook name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}
  • Operation Id: Webhook_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))

Parameters

patch
AutomationWebhookPatch

The update parameters for webhook.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to