Blob-triggered function

In this example, we'll demonstrate how to create a simple function that reads the contents of a blob file. We will not do any processing on the file; instead, we'll just print its contents in a log file.

When you create an Azure Functions service in the portal, it will create a number of resources in addition to the functions app itself. A storage account is needed to store logs produced by the functions app. The app service plan is a container resource that determines the pricing and the resource scaling of the app. Optionally, you can also create an app insights resource for monitoring your app usage. This is particularly useful for error analysis and tracking how often your app is triggered.

To begin development, ...

Get Hands-On Machine Learning with Azure 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.