Skip to content

Commit dc3b284

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into docfx
2 parents 205776e + 48485df commit dc3b284

29 files changed

+1289
-1035
lines changed

.openpublishing.redirection.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6883,6 +6883,36 @@
68836883
"source_path": "articles/defender-for-iot/organizations/release-notes-archive.md",
68846884
"redirect_url": "/azure/defender-for-iot/organizations/release-notes-ot-monitoring-sensor-archive",
68856885
"redirect_document_id": false
6886-
}
6886+
},
6887+
{
6888+
"source_path": "articles/nat-gateway/quickstart-create-nat-gateway-portal.md",
6889+
"redirect_url": "/azure/nat-gateway/quickstart-create-nat-gateway",
6890+
"redirect_document_id": false
6891+
},
6892+
{
6893+
"source_path": "articles/nat-gateway/quickstart-create-nat-gateway-powershell.md",
6894+
"redirect_url": "/azure/nat-gateway/quickstart-create-nat-gateway",
6895+
"redirect_document_id": false
6896+
},
6897+
{
6898+
"source_path": "articles/nat-gateway/quickstart-create-nat-gateway-cli.md",
6899+
"redirect_url": "/azure/nat-gateway/quickstart-create-nat-gateway",
6900+
"redirect_document_id": false
6901+
},
6902+
{
6903+
"source_path": "articles/nat-gateway/quickstart-create-nat-gateway-template.md",
6904+
"redirect_url": "/azure/nat-gateway/quickstart-create-nat-gateway",
6905+
"redirect_document_id": false
6906+
},
6907+
{
6908+
"source_path": "articles/nat-gateway/quickstart-create-nat-gateway-terraform.md",
6909+
"redirect_url": "/azure/nat-gateway/quickstart-create-nat-gateway",
6910+
"redirect_document_id": false
6911+
},
6912+
{
6913+
"source_path": "articles/nat-gateway/quickstart-create-nat-gateway-bicep.md",
6914+
"redirect_url": "/azure/nat-gateway/quickstart-create-nat-gateway",
6915+
"redirect_document_id": false
6916+
}
68876917
]
68886918
}
23.8 KB
Loading
23.9 KB
Loading
27.8 KB
Loading
111 KB
Loading
84.9 KB
Loading
84.8 KB
Loading
27.8 KB
Loading
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: "App Service WebJobs Overview"
3+
description: "An overview of Azure WebJobs, covering its types, supported platforms, file types, scheduling with NCRONTAB expressions, deployment options, and benefits for background processing within Azure App Service."
4+
keywords: "Azure WebJobs, App Service, background processing, triggered jobs, continuous jobs, NCRONTAB, deployment, Azure, technical overview"
5+
ms.topic: overview
6+
ms.date: 5/1/2025
7+
author: msangapu-msft
8+
ms.author: msangapu
9+
ms.reviewer: ggailey
10+
#Customer intent: As a web developer, I want to leverage background tasks to keep my application running smoothly.
11+
---
12+
13+
# App Service WebJobs overview
14+
15+
## Introduction
16+
Azure WebJobs is a built-in feature of Azure App Service that enables you to run background tasks, scripts, and programs alongside your web, API, or mobile applications without needing separate infrastructure. This integration simplifies the automation of routine or resource-intensive operations—such as data processing, file cleanups, or queue monitoring—by leveraging the same scalable, managed environment as your primary application.
17+
18+
## WebJob types
19+
WebJobs come in two primary types:
20+
- **Triggered WebJobs:** Run on demand, on a schedule, or in response to specific events.
21+
- **Continuous WebJobs:** Operate perpetually, ensuring that critical background processes are always active.
22+
23+
For scheduled tasks, NCRONTAB expressions are used to define precise execution intervals, giving you fine-grained control over when the jobs run.
24+
25+
## Supported platforms and file types
26+
Azure WebJobs is fully supported on Windows code, Windows containers, Linux code, and Linux containers.
27+
28+
Supported file types include:
29+
- Windows command scripts (`.cmd`, `.bat`, `.exe`)
30+
- PowerShell scripts (`.ps1`)
31+
- Bash scripts (`.sh`)
32+
- Scripting languages such as Python (`.py`), PHP (`.php`), Node.js (`.js`), and F# (`.fsx`)
33+
34+
This versatility enables integration of WebJobs into a wide range of application architectures.
35+
36+
## Benefits and deployment
37+
By incorporating WebJobs into your App Service, you reduce operational overhead while gaining robust capabilities for background processing. Deployment options are flexible and include:
38+
- **Visual Studio Integration:** Seamlessly deploy WebJobs alongside your ASP.NET applications.
39+
- **Azure Portal and ZIP Deployment:** Easily upload and deploy your WebJob packages.
40+
- **Automated Pipelines:** Use ARM templates or Git for automated deployments.
41+
42+
Additionally, WebJobs provide built-in logging and monitoring, as well as seamless integration with other Azure services, making them a cost-effective and efficient solution for automating background tasks.

articles/app-service/provision-resource-bicep.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: seligj95
55
ms.author: msangapu
66
ms.topic: quickstart
77
ms.custom: devx-track-bicep
8-
ms.date: 04/02/2025
8+
ms.date: 05/01/2025
99
zone_pivot_groups: app-service-bicep
1010
---
1111

@@ -32,14 +32,14 @@ This quickstart uses the following template. It deploys an App Service plan and
3232
```bicep
3333
param webAppName string = uniqueString(resourceGroup().id) // Generate a unique string for the web app name
3434
param sku string = 'F1' // Tier of the App Service plan
35-
param linuxFxVersion string = 'node|14-lts' // Runtime stack of the web app
35+
param linuxFxVersion string = 'node|20-lts' // Runtime stack of the web app
3636
param location string = resourceGroup().location // Location for all resources
3737
param repositoryUrl string = 'https://github.com/Azure-Samples/nodejs-docs-hello-world'
3838
param branch string = 'main'
3939
var appServicePlanName = toLower('AppServicePlan-${webAppName}')
4040
var webSiteName = toLower('wapp-${webAppName}')
4141
42-
resource appServicePlan 'Microsoft.Web/serverfarms@2020-06-01' = {
42+
resource appServicePlan 'Microsoft.Web/serverfarms@2023-12-01' = {
4343
name: appServicePlanName
4444
location: location
4545
properties: {
@@ -51,7 +51,7 @@ resource appServicePlan 'Microsoft.Web/serverfarms@2020-06-01' = {
5151
kind: 'linux'
5252
}
5353
54-
resource appService 'Microsoft.Web/sites@2020-06-01' = {
54+
resource appService 'Microsoft.Web/sites@2023-12-01' = {
5555
name: webSiteName
5656
location: location
5757
properties: {
@@ -62,8 +62,9 @@ resource appService 'Microsoft.Web/sites@2020-06-01' = {
6262
}
6363
}
6464
65-
resource srcControls 'Microsoft.Web/sites/sourcecontrols@2021-01-01' = {
66-
name: '${appService.name}/web'
65+
resource srcControls 'Microsoft.Web/sites/sourcecontrols@2023-12-01' = {
66+
parent: appService
67+
name: 'web'
6768
properties: {
6869
repoUrl: repositoryUrl
6970
branch: branch
@@ -85,7 +86,7 @@ The template contains the following parameters that are predefined for your conv
8586
| `webAppName` | string | `webApp-<uniqueString>` | App name. For more information about the value, see [String functions for ARM templates](../azure-resource-manager/templates/template-functions-string.md#uniquestring). |
8687
| `location` | string | `resourceGroup().location` | App region. For more information about the value, see [Resource functions for ARM templates](../azure-resource-manager/templates/template-functions-resource.md#resourcegroup). |
8788
| `sku` | string | `F1` | Instance size. |
88-
| `linuxFxVersion` | string | `NODE`&#124;`14-LTS` | Programming language stack and version. |
89+
| `linuxFxVersion` | string | `NODE`&#124;`20-LTS` | Programming language stack and version. |
8990
| `repositoryUrl` | string | `https://github.com/Azure-Samples/nodejs-docs-hello-world` | External Git repo (optional). |
9091
| `branch` | string | `master` | Default branch for the code sample. |
9192

@@ -157,7 +158,6 @@ resource webApp 'Microsoft.Web/sites@2024-04-01' = {
157158
httpsOnly: true
158159
}
159160
}
160-
161161
```
162162

163163
The template defines two Azure resources:

0 commit comments

Comments
 (0)