This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // The following will create an Azure Function app on | |
| // a consumption plan, along with a storage account | |
| param location string = resourceGroup().location | |
| param functionRuntime string = 'dotnet' | |
| param appNamePrefix string = uniqueString(resourceGroup().id) | |
| var functionAppName = '${appNamePrefix}-functionapp' | |
| var appServiceName = '${appNamePrefix}-appservice' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.0", | |
| "metadata": { | |
| "_generator": { | |
| "name": "bicep", | |
| "version": "0.4.613.9944", | |
| "templateHash": "11544000819148750" | |
| } | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.0", | |
| "variables": { | |
| "storageAccountName": "[concat('storeacc', uniqueString(resourceGroup().id))]", | |
| "hostingPlanName": "[concat('asp', uniqueString(resourceGroup().id))]", | |
| "location": "West Europe", | |
| "functionOneName": "[concat('func1', uniqueString(resourceGroup().id))]", | |
| "functionTwoName": "[concat('func2', uniqueString(resourceGroup().id))]", | |
| "functionOneppId": "[concat(resourceGroup().id,'/providers/Microsoft.Web/sites/', variables('functionOneName'))]" |