You need to design a solution that will execute custom C# code in response to an event routed to Azure Event Grid. The solution must meet the following requirements:
✑ The executed code must be able to access the private IP address of a Microsoft SQL Server instance that runs on an Azure virtual machine.
✑ Costs must be minimized.
What should you include in the solution?
A. Azure Logic Apps in the integrated service environment
B. Azure Functions in the Dedicated plan and the Basic Azure App Service plan
C. Azure Logic Apps in the Consumption plan
D. Azure Functions in the Consumption plan
To connect to Azure virtual machines using private IP address, we must do Virtual network integration. Virtual network integration is supported only on Azure Functions Dedicated plan and Azure Logics Apps ISE. Azure Functions dedicated plan is cheaper than Azure Logic Apps ISE. https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale#hosting-plans-comparison