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

问题描述 投票:1回答:1

当有人在特定数据工厂中创建新的管道时,有没有办法接收邮件(某种警报)?

像“用户XYZ创建一个新的管道”之类的东西

感谢您的投入,Marcelo

azure pipeline azure-data-factory audit
1个回答
0
投票

要指定警报定义,请创建一个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"
          ]
        }
      }
    }
© www.soinside.com 2019 - 2024. All rights reserved.