func

Function App

Compute & WebAzure
General

General information about the service.

Description

Event-driven serverless compute platform.

Namespace and Entity

Microsoft.Web/sites

Chat

Powered by AI

Talk to this service to learn more about it.

Suggested questions:

Naming

The conventions, rules, and restrictions for naming this service.

Naming Convention

func-

Length

2-60

Valid Characters

Alphanumerics, hyphens, underscores.

Scope

resource group

Code

Deploy your infrastructure as code using your preferred tooling.

Official DocumentationTerraform
terraform
1resource "azurerm_linux_function_app" "main" {
2 name = "func-${var.project}-${var.environment}"
3 location = azurerm_resource_group.main.location
4 resource_group_name = azurerm_resource_group.main.name
5 service_plan_id = azurerm_service_plan.main.id
6 storage_account_name = azurerm_storage_account.main.name
7 storage_account_access_key = azurerm_storage_account.main.primary_access_key
8
9 site_config {
10 always_on = true
11 application_stack {
12 node_version = "18"
13 }
14 }
15
16 app_settings = {
17 "FUNCTIONS_WORKER_RUNTIME" = "node"
18 "WEBSITE_NODE_DEFAULT_VERSION" = "~18"
19 }
20
21 identity {
22 type = "SystemAssigned"
23 }
24
25 tags = var.tags
26}
Utilities

Utilities to support app deployment or configuration.

Private Endpoints

Details to successfully deploy private endpoints on Azure.

Sub-Resource Names

sites

Private DNS Zone Names

privatelink.azurewebsites.net

Public DNS Zone Forwarders

azurewebsites.net