Skip to content

Commit a800b25

Browse files
cesherCesar Hernandez
andauthored
custom events trigger definition (#12503)
Co-authored-by: Cesar Hernandez <cesher@microsoft.com>
1 parent a21a6aa commit a800b25

File tree

1 file changed

+43
-0
lines changed
  • specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes

1 file changed

+43
-0
lines changed

specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Trigger.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,49 @@
352352
},
353353
"description": "Blob event types."
354354
},
355+
"CustomEventsTrigger": {
356+
"description": "Trigger that runs every time a custom event is received.",
357+
"type": "object",
358+
"allOf": [
359+
{
360+
"$ref": "#/definitions/MultiplePipelineTrigger"
361+
}
362+
],
363+
"properties": {
364+
"typeProperties": {
365+
"description": "Custom Events Trigger properties.",
366+
"x-ms-client-flatten": true,
367+
"properties": {
368+
"subjectBeginsWith": {
369+
"description": "The event subject must begin with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith.",
370+
"type": "string"
371+
},
372+
"subjectEndsWith": {
373+
"description": "The event subject must end with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith.",
374+
"type": "string"
375+
},
376+
"events": {
377+
"description": "The list of event types that cause this trigger to fire.",
378+
"type": "array",
379+
"items": {
380+
"type": "object"
381+
}
382+
},
383+
"scope": {
384+
"description": "The ARM resource ID of the Azure Event Grid Topic.",
385+
"type": "string"
386+
}
387+
},
388+
"required": [
389+
"events",
390+
"scope"
391+
]
392+
}
393+
},
394+
"required": [
395+
"typeProperties"
396+
]
397+
},
355398
"TumblingWindowTrigger": {
356399
"description": "Trigger that schedules pipeline runs for all fixed time interval windows from a start time without gaps and also supports backfill scenarios (when start time is in the past).",
357400
"type": "object",

0 commit comments

Comments
 (0)