gpt4 book ai didi

Azure - 数据工厂 - 创建新管道

转载 作者:行者123 更新时间:2023-12-03 04:15:31 25 4
gpt4 key购买 nike

当有人在特定数据工厂中创建新管道时,有什么方法可以接收邮件(某种警报)吗?

类似于“用户 XYZ 创建了一个新管道”

感谢您的投入,马塞洛

最佳答案

要指定警报定义,您可以创建一个 JSON 文件来描述您想要收到警报的操作。以下示例创建运行完成警报。下面的 JSON 将帮助您创建类似的更新警报。

   {   "contentVersion": "1.0.0.0",  "$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",  "parameters": {},  "resources": [    {      "name": "ADFAlertsSlice",      "type": "microsoft.insights/alertrules",      "apiVersion": "2014-04-01",      "location": "East US",      "properties": {        "name": "ADFAlertsSlice",        "description": "One or more of the data slices for the Azure Data Factory has failed processing.",        "isEnabled": true,        "condition": {          "odata.type": "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition",          "dataSource": {            "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource",            "operationName": "RunFinished",            "status": "Failed",            "subStatus": "FailedExecution"          }        },        "action": {          "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleEmailAction",          "customEmails": [            "@contoso.com"          ]        }      }    }

关于Azure - 数据工厂 - 创建新管道,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53340791/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com