Build serverless APIs with Azure Functions triggers and bindings
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing Developing AI Cloud Solutions on Azure premium course — no separate purchase.
14-day money-back guarantee — no questions asked.
Included in this chapter:
- One trigger, any number of bindings
- How a binding declaration is written and resolved
- Binding expressions: braces, percent signs, metadata
- The HTTP trigger's request contract
- The Timer trigger and NCRONTAB schedules
- The Storage triggers and the poison path
- Triggers that delegate reliability to their service
- Input and output bindings at work
- When a binding is the wrong tool
What starts one invocation, who retries it, and where a failure ends up
| Trigger | What starts one invocation | Who retries a failure | The published failure path |
|---|---|---|---|
| HTTP | One HTTP request matching the route and method | Not the runtime; the trigger is absent from Microsoft's retry table | The status code your code returns to the caller |
| Timer | One NCRONTAB (or TimeSpan) schedule occurrence | A function-level retry policy, if you add one | The next scheduled occurrence |
| Queue Storage | One Storage queue message | The binding extension, `maxDequeueCount` times (default 5) | The `<queue-name>-poison` queue |
| Blob Storage | One new or updated blob in the watched container | The binding extension, five tries by default | The `webjobs-blobtrigger-poison` queue |
| Service Bus | One message from a queue or a subscription | The binding extension; Service Bus redelivers on abandon | The entity's dead-letter queue |
| Event Grid | One delivered event (one invocation per array element) | The binding extension, configured on the event subscription | The event subscription's dead-letter destination |
| Cosmos DB | A batch of change-feed items from the monitored container | A function-level retry policy that the runtime enforces | The retry policy's `max_retry_count`, then the exception |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
References
- Triggers and Bindings in Azure Functions
- Python developer reference for Azure Functions
- Develop and run Azure Functions locally
- Azure Functions Binding Expressions and Patterns
- Azure Cosmos DB bindings for Functions
- Azure Tables output bindings for Azure Functions
- Routing in ASP.NET Core
- host.json reference for Azure Functions 2.x
- Azure Functions HTTP trigger
- Azure App Service FAQ - Availability, Performance, and Application Issues
- Azure Event Grid Delivery and Retry Explained
- Concepts (push delivery) in Event Grid basic
- Timer trigger for Azure Functions
- Azure Functions Flex Consumption plan hosting
- Azure Functions Consumption plan hosting (legacy)
- Azure built-in roles - Azure RBAC
- Azure Functions Error Handling and Retry Guidance
- Azure Storage Analytics logging
- Azure Service Bus trigger for Azure Functions
- Azure Service Bus Enable FIFO with Sessions
- Work with the Change Feed - Azure Cosmos DB
- Service Bus Dead-Letter Queues
- Azure Queue storage output binding for Azure Functions