Updating pipeline: EmailSender

This commit is contained in:
Paul Andrew 2022-10-17 12:47:15 +01:00
parent a5fe582f55
commit 918640b092

View File

@ -18,10 +18,8 @@
"functionName": "SendEmail", "functionName": "SendEmail",
"method": "POST", "method": "POST",
"body": { "body": {
"emailRecipients": "mrpaulandrew@ymail.com", "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}')",
"emailSubject": "ADFprocfwk Alert: Deployment Gateway Test", "type": "Expression"
"emailBody": "Deployment Gateway Test Success",
"emailImportance": "High"
} }
}, },
"linkedServiceName": { "linkedServiceName": {
@ -30,6 +28,21 @@
} }
} }
], ],
"parameters": {
"Recipients": {
"type": "string"
},
"Subject": {
"type": "string"
},
"Body": {
"type": "string"
},
"Importance": {
"type": "string",
"defaultValue": "High"
}
},
"folder": { "folder": {
"name": "Demo Pipelines/Misc" "name": "Demo Pipelines/Misc"
}, },