共用方式為


WebhookOperationsExtensions.CreateOrUpdate 方法

定義

多載

CreateOrUpdate(IWebhookOperations, String, String, WebhookCreateOrUpdateParameters)
CreateOrUpdate(IWebhookOperations, String, String, String, WebhookCreateOrUpdateParameters)

建立 Webhook 名稱所識別的 Webhook。 http://aka.ms/azureautomationsdk/webhookoperations

CreateOrUpdate(IWebhookOperations, String, String, WebhookCreateOrUpdateParameters)

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

參數

operations
IWebhookOperations
resourceGroupName
String
automationAccount
String

傳回

適用於

CreateOrUpdate(IWebhookOperations, String, String, String, WebhookCreateOrUpdateParameters)

建立 Webhook 名稱所識別的 Webhook。 http://aka.ms/azureautomationsdk/webhookoperations

public static Microsoft.Azure.Management.Automation.Models.Webhook CreateOrUpdate (this Microsoft.Azure.Management.Automation.IWebhookOperations operations, string resourceGroupName, string automationAccountName, string webhookName, Microsoft.Azure.Management.Automation.Models.WebhookCreateOrUpdateParameters parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Automation.IWebhookOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.WebhookCreateOrUpdateParameters -> Microsoft.Azure.Management.Automation.Models.Webhook
<Extension()>
Public Function CreateOrUpdate (operations As IWebhookOperations, resourceGroupName As String, automationAccountName As String, webhookName As String, parameters As WebhookCreateOrUpdateParameters) As Webhook

參數

operations
IWebhookOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

webhookName
String

Webhook 名稱。

parameters
WebhookCreateOrUpdateParameters

Webhook 的建立或更新參數。

傳回

適用於