Skip to Content
Hands-On Serverless Computing
book

Hands-On Serverless Computing

by Kuldeep Chowhan
July 2018
Intermediate to advanced
350 pages
8h 47m
English
Packt Publishing
Content preview from Hands-On Serverless Computing

Trigger

The Azure Blob storage trigger for Azure Functions will start a function whenever a new or updated blob is detected in storage. Whatever changes happened in blob storage are provided as an input to the Azure Function.

You can also leverage Azure Event Grid's (https://docs.microsoft.com/en-us/azure/event-grid/overview) support for blob events and use that to start Azure Function whenever changes are detected with a publisher, which, in this case, is Azure Blob storage.

An example function.json binding for an Azure Blob storage trigger will look as follows:

{"disabled": false,"bindings": [{"name": "kuldeepsBlob","type": "kuldeepsblobTrigger","direction": "in","path": "bookChapters/{chapter}","connection": "MyStorageSetting"}]}

On ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn AWS Serverless Computing

Learn AWS Serverless Computing

Scott Patterson
Erlang and OTP in Action

Erlang and OTP in Action

Eric Merritt, Richard Carlsson, Martin Logan

Publisher Resources

ISBN: 9781788836654Supplemental Content