Azure Function App Service Plan. I read microsoft documentation and they mentioned that functions that run under app service plan does not timeout. This is the heart of our template.

However, you can move azure resources to a new resource group or subscription following this guide and then move a web app to another app service plan. Share azure app plan across resource groups. Now that we have an app service plan to host the function app, and which defines we are using a consumption pricing plan, we can define the last resource in the resources node.
Information about azure app services which includes web app, azure functions or function app, web jobs, web api etc.
And the docker image which is used has this info: Azure functions run inside azure function apps, which is an app service type. Azure hosts azure cloud shell, an interactive shell environment that you can use through your browser. With app service plan you are billed by the number of instances of the app service plan.