Share via


WebhookOperationsExtensions.UpdateAsync Method

Definition

Update the webhook identified by webhook name. http://aka.ms/azureautomationsdk/webhookoperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Webhook> UpdateAsync (this Microsoft.Azure.Management.Automation.IWebhookOperations operations, string resourceGroupName, string automationAccountName, string webhookName, Microsoft.Azure.Management.Automation.Models.WebhookUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Automation.IWebhookOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.WebhookUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Webhook>
<Extension()>
Public Function UpdateAsync (operations As IWebhookOperations, resourceGroupName As String, automationAccountName As String, webhookName As String, parameters As WebhookUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Webhook)

Parameters

operations
IWebhookOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

webhookName
String

The webhook name.

parameters
WebhookUpdateParameters

The update parameters for webhook.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to