July 2018
Intermediate to advanced
350 pages
8h 47m
English
Let's look at how a binding and trigger will look like in function.json. For this example, let's assume that your Azure Function will write a new row to Azure Table storage whenever a message is received in Azure Queue storage. The way to accomplish this is by creating a trigger on Azure Queue storage to call your Azure Functions and define an output binding for Azure Table storage so that the message from the queue is written to Azure Table storage.
Here, the function.json file for this example will be:
{ "bindings": [ { "name": "cart", "type": "queueTrigger", "direction": "in", "queueName": "cartItems", "connection": "MY_STORAGE_SETTING" }, { "name": "$return", "type": "table", "direction": "out", "tableName": ...Read now
Unlock full access