WebhookOperationsExtensions.CreateOrUpdateAsync(IWebhookOperations, String, String, WebhookCreateOrUpdateParameters) Method

Definition

Create the webhook identified by webhook name. (see http://aka.ms/azureautomationsdk/webhookoperations for more information)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.WebhookCreateOrUpdateResponse> CreateOrUpdateAsync (this Microsoft.Azure.Management.Automation.IWebhookOperations operations, string resourceGroupName, string automationAccount, Microsoft.Azure.Management.Automation.Models.WebhookCreateOrUpdateParameters parameters);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Automation.IWebhookOperations * string * string * Microsoft.Azure.Management.Automation.Models.WebhookCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.WebhookCreateOrUpdateResponse>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IWebhookOperations, resourceGroupName As String, automationAccount As String, parameters As WebhookCreateOrUpdateParameters) As Task(Of WebhookCreateOrUpdateResponse)

Parameters

operations
IWebhookOperations

Reference to the Microsoft.Azure.Management.Automation.IWebhookOperations.

resourceGroupName
System.String

Required. The name of the resource group

automationAccount
System.String

Required. The automation account name.

parameters
WebhookCreateOrUpdateParameters

Required. The create or update parameters for webhook.

Returns

System.Threading.Tasks.Task<WebhookCreateOrUpdateResponse>

The response model for the create or update webhook operation.

Applies to