Skip to content

Commit

Permalink
[DataFactory] blob events trigger (#3008)
Browse files Browse the repository at this point in the history
* blob events trigger

* address review feedback

* resolve blob path property issue
  • Loading branch information
Cesar Hernandez authored and marstr committed May 16, 2018
1 parent 9e19974 commit 8c6dc3e
Showing 1 changed file with 57 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,63 @@
"typeProperties"
]
},
"BlobEventsTrigger":
{
"description": "Trigger that runs everytime a Blob event occurs.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/MultiplePipelineTrigger"
}
],
"properties": {
"typeProperties":
{
"description": "Blob Events Trigger properties.",
"x-ms-client-flatten": true,
"properties": {
"blobPathBeginsWith": {
"description": "The blob path must begin with the pattern provided for trigger to fire. For example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records container. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.",
"type": "string"
},
"blobPathEndsWith": {
"description": "The blob path must end with the pattern provided for trigger to fire. For example, 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.",
"type": "string"
},
"events": {
"description": "The type of events that cause this trigger to fire.",
"$ref": "#/definitions/BlobEventTypes"
},
"scope": {
"description": "The ARM resource ID of the Storage Account.",
"type": "string"
}
},
"required": [
"events",
"scope"
]
}
},
"required": [
"typeProperties"
]
},
"BlobEventTypes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"Microsoft.Storage.BlobCreated",
"Microsoft.Storage.BlobDeleted"
],
"x-ms-enum": {
"name": "BlobEventTypes",
"modelAsString": true
}
},
"description": "Blob event types."
},
"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 8c6dc3e

Please sign in to comment.