Skip to content

Commit

Permalink
custom events trigger definition (#12503)
Browse files Browse the repository at this point in the history
Co-authored-by: Cesar Hernandez <cesher@microsoft.com>
  • Loading branch information
cesher and Cesar Hernandez authored Jan 22, 2021
1 parent a21a6aa commit a800b25
Showing 1 changed file with 43 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,49 @@
},
"description": "Blob event types."
},
"CustomEventsTrigger": {
"description": "Trigger that runs every time a custom event is received.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/MultiplePipelineTrigger"
}
],
"properties": {
"typeProperties": {
"description": "Custom Events Trigger properties.",
"x-ms-client-flatten": true,
"properties": {
"subjectBeginsWith": {
"description": "The event subject must begin with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith.",
"type": "string"
},
"subjectEndsWith": {
"description": "The event subject must end with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith.",
"type": "string"
},
"events": {
"description": "The list of event types that cause this trigger to fire.",
"type": "array",
"items": {
"type": "object"
}
},
"scope": {
"description": "The ARM resource ID of the Azure Event Grid Topic.",
"type": "string"
}
},
"required": [
"events",
"scope"
]
}
},
"required": [
"typeProperties"
]
},
"TumblingWindowTrigger": {
"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).",
"type": "object",
Expand Down

0 comments on commit a800b25

Please sign in to comment.