app

App Service

Compute & WebAzure
General

General information about the service.

Description

HTTP-based service for hosting web applications and REST APIs.

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

app-

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_web_app" "main" {
2 name = "app-${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 https_only = true
7
8 site_config {
9 always_on = true
10 minimum_tls_version = "1.2"
11 ftps_state = "Disabled"
12
13 application_stack {
14 node_version = "18-lts"
15 }
16 }
17
18 app_settings = {
19 "WEBSITE_NODE_DEFAULT_VERSION" = "~18"
20 "SCM_DO_BUILD_DURING_DEPLOYMENT" = "true"
21 }
22
23 identity {
24 type = "SystemAssigned"
25 }
26
27 tags = var.tags
28}
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