Skip to content

Latest commit

 

History

History

function-app-linux-flex-consumption

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
description page_type products urlFragment languages
This template provisions a function app on a Flex Consumption plan.
sample
azure
azure-resource-manager
function-app-linux-flex-consumption
json

Azure Function App Hosted on Flex Consumption Plan (Linux)

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.

Deploy to Azure

OS

This template is for Azure Function app hosted on Flex Consumption plan (Linux) only.

Flex Consumption Plan

The Azure Function app provisioned in this sample uses an Azure Functions Flex Consumption plan.

  • Microsoft.Web/serverfarms: The Azure Functions Flex Consumption plan

Azure Function App

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.

OneDeploy

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

Azure Storage account

The Storage account that the Function uses for operation and for file contents.

Application Insights

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