Input binding

As we've just seen, trigger binding also defines the first input parameter for your function. On top of that, you can add other bindings to specify additional input parameters. As you will see in the table later in this chapter, certain types of bindings can serve as input, but not as triggers.

Every input binding has the settings of name, type, and direction, with direction value is set to in. The rest of the settings will depend on the type of binding you use. Most input-only bindings will also have a connection string, which allows them to connect to an external data store from which the data is coming.

As an example, we will use an input-only binding used for Azure Storage Queue, as shown in the following code:

 "bindings": ...

Get Serverless computing in Azure with .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.