Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Azure Functions

You're reading from  Learning Azure Functions

Product type Book
Published in Sep 2017
Publisher Packt
ISBN-13 9781787122932
Pages 240 pages
Edition 1st Edition
Languages
Concepts

Using an event with an Azure Function


Events are things that trigger our Azure Functions to run. Events can be HTTP endpoints, message queues, blob updates, and cron-scheduled events. To elaborate more by giving an example, what if you want to be notified when a file is uploaded on blob storage or you want to immediately process a file when it is uploaded to blob storage?

The following diagram shows how the Azure Function works, which gets triggered when an event occurs:

The following are the types of event that cause the function to run:

  • HTTP Trigger: This is an event that causes the function to run whenever it receives an HTTP request.
  • Timer Trigger: This type of trigger is run on the basis of a schedule. We can set the time for the trigger and the function runs at that specified time.
  • Queue Trigger: The Azure Function will run whenever a message is added to a specified Azure queue storage.
  • Blob Trigger: The Azure Function will run whenever a blob is added to a specified container, for example...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}