Azure functions can be created using the Azure portal, PowerShell, Azure CLI, and REST API's. Steps to create a function using the ARM template is already detailed at https://docs.microsoft.com/en-us/azure/azure-functions/functions-infrastructure-as-code. In this section, Azure functions will be provisioned using the portal.
Azure functions are hosted within Azure app services. Users create a new function app which in turn creates an app service plan and app service. The app service plan is configured based on the following:
- Name: Name of app service. The name should be unique within the .azurewebsites.net domain.
- Location: Location for hosting the Azure function app service.
- Hosting plan: This is also known as the pricing plan. Here, two options, as discussed previously, are available--consumption and app services plan.
- Resource group...