description | page_type | products | urlFragment | languages | |||
---|---|---|---|---|---|---|---|
This template provisions a function app on a Flex Consumption plan. |
sample |
|
function-app-linux-flex-consumption |
|
This sample Azure Resource Manager template deploys an Azure Function App on Flex Consumption plan (Linux) and required resource including code package deployment with remote build option.
This template is for Azure Function app hosted on Flex Consumption plan (Linux) only.
The Azure Function app provisioned in this sample uses an Azure Functions Flex Consumption plan.
- Microsoft.Web/serverfarms: The Azure Functions Flex Consumption plan
The Function App uses the AzureWebJobsStorage__accountName app setting to connect to a Storage Account and configured deployment settings with system-assigned identity.
- Microsoft.Web/sites: The function app instance.
To deploy/release new code with .ZIP package. It uses storage account and authentication method configured in deployment settings
- Microsoft.Web/sites/extensions: Allows choosing remote build process (for example: to get Linux specific packages in python, node.js) in OneDeploy extension using the following property:
"remoteBuild": true
=> enable remote build"remoteBuild": false
=> disable remote build
The Storage account that the Function uses for operation and for file contents.
- Microsoft.Storage/storageAccounts: Azure Functions requires a storage account for the function app instance.
Application Insights is used to provide monitor the Azure Function.
- Microsoft.Insights/components: The Application Insights instance used by the Azure Function for monitoring.
Tags: Microsoft.Storage/storageAccounts, microsoft.insights/components, Microsoft.Web/serverfarms, Microsoft.Web/sites, Microsoft.Web/sites/extensions