This page provides an overview of using Blob Storage triggers and bindings within Azure Functions. It demonstrates how to configure your function to react to changes in your Azure Blob Storage containers.
Blob Storage triggers in Azure Functions allow your function to automatically execute when events occur in your Blob Storage account, such as a new blob being uploaded, a blob being deleted, or a blob being modified.
These triggers can be configured using the Azure portal, Azure CLI, or Infrastructure as Code (e.g., ARM templates).
Several bindings are commonly used with Blob Storage triggers:
A basic Blob Storage trigger function might look like this (using JavaScript):
function myFunction(event) {
console.log("Triggered by: " + event.triggerName);
console.log("Blob Name: " + event.blobName);
console.log("Container Name: " + event.containerName);
// Your code here to process the blob
}
For more detailed information and tutorials, refer to the official Azure documentation: Azure Functions with Blob Storage