Triggers:
- A trigger causes an Azure function to run and a trigger defines how a function should be invoked.
- A function can only have exactly one trigger.
- Triggers can pass data to functions.
Bindings:
- A binding to a function is a declarative way to connect functions to other resources.
- There are two types of bindings: input bindings and output bindings
- Input bindings pass data to functions
- Output bindings write data out from a function.
(For example, read data from a queue is an input binding and write data to a database is an output binding.) - A function trigger is a special type of input binding.
- Bindings are optional.
- A function can have one or multiple input and/or output bindings.
No comments:
Post a Comment