51 lines
1.1 KiB
JSON
51 lines
1.1 KiB
JSON
{
|
|
"name": "EmailSender",
|
|
"properties": {
|
|
"activities": [
|
|
{
|
|
"name": "Send Email",
|
|
"type": "AzureFunctionActivity",
|
|
"dependsOn": [],
|
|
"policy": {
|
|
"timeout": "0.12:00:00",
|
|
"retry": 0,
|
|
"retryIntervalInSeconds": 30,
|
|
"secureOutput": false,
|
|
"secureInput": false
|
|
},
|
|
"userProperties": [],
|
|
"typeProperties": {
|
|
"functionName": "SendEmail",
|
|
"method": "POST",
|
|
"body": {
|
|
"value": "@concat('\n{\n\"emailRecipients\": \"mrpaulandrew@ymail.com\",\n\"emailSubject\": \"ADFprocfwk Alert: Deployment Gateway Test\",\n\"emailBody\": \"Deployment Gateway Test Success\",\n\"emailImportance\": \"High\"\n}')",
|
|
"type": "Expression"
|
|
}
|
|
},
|
|
"linkedServiceName": {
|
|
"referenceName": "EmailSenderFunction",
|
|
"type": "LinkedServiceReference"
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Recipients": {
|
|
"type": "string"
|
|
},
|
|
"Subject": {
|
|
"type": "string"
|
|
},
|
|
"Body": {
|
|
"type": "string"
|
|
},
|
|
"Importance": {
|
|
"type": "string",
|
|
"defaultValue": "High"
|
|
}
|
|
},
|
|
"folder": {
|
|
"name": "Demo Pipelines/Misc"
|
|
},
|
|
"annotations": []
|
|
}
|
|
} |