有人在特定数据工厂中创建新管道时,是否可以接收邮件(某种警报)?
类似于“用户XYZ创建了新管道”
感谢您的投入, 马塞洛
答案 0 :(得分: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" ] } } }