Freigeben über


AutomationWebhookResource.Update Methode

Definition

Aktualisieren Sie den Webhook, der durch den Namen des Webhooks identifiziert wird.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}
  • Vorgangs-IdWebhook_Update
public virtual Azure.Response<Azure.ResourceManager.Automation.AutomationWebhookResource> Update (Azure.ResourceManager.Automation.Models.AutomationWebhookPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Automation.Models.AutomationWebhookPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationWebhookResource>
override this.Update : Azure.ResourceManager.Automation.Models.AutomationWebhookPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationWebhookResource>
Public Overridable Function Update (patch As AutomationWebhookPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AutomationWebhookResource)

Parameter

patch
AutomationWebhookPatch

Die Updateparameter für den Webhook.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: