Functions (1 / 54): In your e-commerce system, you've built two Azure Functions to handle order processing and retrieval. The OrderProcessingFunction is triggered when an order is placed by a customer via an Azure Service Bus queue. The details of this order are then processed and stored into a cloud storage system for later reference. Configuration for the service is stored into Cosmos DB database. The OrderRetrievalFunction is invoked on-demand via a web request, which fetches and returns the previously stored order details.
Which triggers and bindings would you use in the OrderRetrievalFunction?
Answer:
The OrderRetrievalFunction is invoked on-demand via a web request, which corresponds to the HTTP trigger binding. This function fetches the stored order details from a cloud storage system, which corresponds to the Blob input binding.