February 2019
Intermediate to advanced
494 pages
11h 5m
English
A binding is a declarative or a configurable way of connecting data to different types of sources or destinations, such as Azure SQL, Cosmos DB, Service Bus queues, and so on. When we create functions from the Azure portal, we always mention the bindings in the function.json file. Bindings come in two different types: input bindings and output bindings.
Input bindings are used to read data into Azure Functions from different sources. Input bindings are completely optional, and a function can have one or more input bindings. The following is an example of an input binding for Cosmos DB:
{ "name": "Products", "type": "cosmosDB", "databaseName": "inventory", "collectionName": "products", "id" : "{Sku}", "partitionKey": "{Sku}", ...Read now
Unlock full access