Getting ready

Before, we start authoring the ARM templates, we need to understand the other Azure services on which the Azure Function depends. The following services are automatically created when you create a function app:

As shown in the preceding screenshot, the function app (in this case azurefunctioncookbook-gateway) is dependent on an App Service Plan and a Storage Account:

Along with these services, we would obviously need to have a resource group. In this recipe, we will assume that the resource group already exists.