Megosztás a következőn keresztül:


IWebhookOperations.UpdateWithHttpMessagesAsync Metódus

Definíció

Frissítse a webhook nevével azonosított webhookot. http://aka.ms/azureautomationsdk/webhookoperations

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Automation.Models.Webhook>> UpdateWithHttpMessagesAsync (string resourceGroupName, string automationAccountName, string webhookName, Microsoft.Azure.Management.Automation.Models.WebhookUpdateParameters parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.Automation.Models.WebhookUpdateParameters * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Automation.Models.Webhook>>
Public Function UpdateWithHttpMessagesAsync (resourceGroupName As String, automationAccountName As String, webhookName As String, parameters As WebhookUpdateParameters, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of Webhook))

Paraméterek

resourceGroupName
String

Egy Azure-erőforráscsoport neve.

automationAccountName
String

Az automation-fiók neve.

webhookName
String

A webhook neve.

parameters
WebhookUpdateParameters

A webhook frissítési paraméterei.

customHeaders
Dictionary<String,List<String>>

A kérelemhez hozzáadandó fejlécek.

cancellationToken
CancellationToken

A lemondási jogkivonat.

Válaszok

Kivételek

A művelet érvénytelen állapotkód visszaadásakor lett eldobva

A válasz deszerializálása sikertelen volt

Akkor van eldobva, ha egy kötelező paraméter null értékű

A következőre érvényes: