WebhookOperationsOperations interface
表示WebhookOperations操作的接口。
属性
| create |
创建由 Webhook 名称标识的 Webhook。 |
| delete | 按名称删除 Webhook。 |
| generate |
生成用于创建 Webhook 的 URI。 |
| get | 检索由 Webhook 名称标识的 Webhook。 |
| list |
检索 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>