你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WebhookOperationsOperations interface

表示WebhookOperations操作的接口。

属性

createOrUpdate

创建由 Webhook 名称标识的 Webhook。

delete

按名称删除 Webhook。

generateUri

生成用于创建 Webhook 的 URI。

get

检索由 Webhook 名称标识的 Webhook。

listByAutomationAccount

检索 Webhook 列表。

update

更新由 Webhook 名称标识的 Webhook。

属性详细信息

createOrUpdate

创建由 Webhook 名称标识的 Webhook。

createOrUpdate: (resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: WebhookCreateOrUpdateParameters, options?: WebhookOperationsCreateOrUpdateOptionalParams) => Promise<Webhook>

属性值

(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: WebhookCreateOrUpdateParameters, options?: WebhookOperationsCreateOrUpdateOptionalParams) => Promise<Webhook>

delete

按名称删除 Webhook。

delete: (resourceGroupName: string, automationAccountName: string, webhookName: string, options?: WebhookOperationsDeleteOptionalParams) => Promise<void>

属性值

(resourceGroupName: string, automationAccountName: string, webhookName: string, options?: WebhookOperationsDeleteOptionalParams) => Promise<void>

generateUri

生成用于创建 Webhook 的 URI。

generateUri: (resourceGroupName: string, automationAccountName: string, options?: WebhookOperationsGenerateUriOptionalParams) => Promise<WebhookOperationsGenerateUriResponse>

属性值

(resourceGroupName: string, automationAccountName: string, options?: WebhookOperationsGenerateUriOptionalParams) => Promise<WebhookOperationsGenerateUriResponse>

get

检索由 Webhook 名称标识的 Webhook。

get: (resourceGroupName: string, automationAccountName: string, webhookName: string, options?: WebhookOperationsGetOptionalParams) => Promise<Webhook>

属性值

(resourceGroupName: string, automationAccountName: string, webhookName: string, options?: WebhookOperationsGetOptionalParams) => Promise<Webhook>

listByAutomationAccount

检索 Webhook 列表。

listByAutomationAccount: (resourceGroupName: string, automationAccountName: string, options?: WebhookOperationsListByAutomationAccountOptionalParams) => PagedAsyncIterableIterator<Webhook, Webhook[], PageSettings>

属性值

(resourceGroupName: string, automationAccountName: string, options?: WebhookOperationsListByAutomationAccountOptionalParams) => PagedAsyncIterableIterator<Webhook, Webhook[], PageSettings>

update

更新由 Webhook 名称标识的 Webhook。

update: (resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: WebhookUpdateParameters, options?: WebhookOperationsUpdateOptionalParams) => Promise<Webhook>

属性值

(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: WebhookUpdateParameters, options?: WebhookOperationsUpdateOptionalParams) => Promise<Webhook>