You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use a Bicep file or an Azure Resource Manager template to deploy a function app. This article outlines the required resources and parameters for doing so. You might need to deploy other resources, depending on the [triggers and bindings](functions-triggers-bindings.md) in your function app.
14
14
15
-
***jgao: use tabs here
15
+
# [Bicep](#tab/bicep)
16
+
17
+
```bicep
16
18
For more information about creating Bicep files, see [Understand the structure and syntax of Bicep files](../azure-resource-manager/bicep/file.md).
19
+
```
20
+
21
+
# [JSON](#tab/json)
22
+
17
23
For more information about creating templates, see [Authoring Azure Resource Manager templates](../azure-resource-manager/templates/syntax.md).
18
24
25
+
---
26
+
19
27
For sample templates, see:
20
28
21
29
-[ARM templates for function app deployment](https://github.com/Azure-Samples/function-app-arm-templates)
@@ -26,14 +34,28 @@ For sample templates, see:
26
34
27
35
An Azure Functions deployment typically consists of these resources:
28
36
29
-
***jgao: use tabs here
37
+
# [Bicep](#tab/bicep)
38
+
39
+
```bicep
40
+
41
+
| Resource | Requirement | Syntax and properties reference |
| A function app | Required |[Microsoft.Web/sites](/azure/templates/microsoft.web/sites)|
34
-
| An [Azure Storage](../storage/index.yml) account | Required |[Microsoft.Storage/storageAccounts](/azure/templates/microsoft.storage/storageaccounts)|
35
-
| An [Application Insights](../azure-monitor/app/app-insights-overview.md) component | Optional |[Microsoft.Insights/components](/azure/templates/microsoft.insights/components)|
36
-
| A [hosting plan](./functions-scale.md)| Optional<sup>1</sup> |[Microsoft.Web/serverfarms](/azure/templates/microsoft.web/serverfarms)|
53
+
| A function app | Required |[Microsoft.Web/sites](/azure/templates/microsoft.web/sites?pivots=deployment-language-arm-template)|
54
+
| An [Azure Storage](../storage/index.yml) account | Required |[Microsoft.Storage/storageAccounts](/azure/templates/microsoft.storage/storageaccounts?pivots=deployment-language-arm-template)|
55
+
| An [Application Insights](../azure-monitor/app/app-insights-overview.md) component | Optional |[Microsoft.Insights/components](/azure/templates/microsoft.insights/components?pivots=deployment-language-arm-template)|
56
+
| A [hosting plan](./functions-scale.md)| Optional<sup>1</sup> |[Microsoft.Web/serverfarms](/azure/templates/microsoft.web/serverfarms?pivots=deployment-language-arm-template)|
57
+
58
+
---
37
59
38
60
<sup>1</sup>A hosting plan is only required when you choose to run your function app on a [Premium plan](./functions-premium-plan.md) or on an [App Service plan](../app-service/overview-hosting-plans.md).
0 commit comments