Skip to content

Commit dc98f0b

Browse files
author
gitName
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into apimmcp
2 parents 0241ab8 + 145a045 commit dc98f0b

File tree

243 files changed

+3705
-2020
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

243 files changed

+3705
-2020
lines changed

articles/app-service/configure-basic-auth-disable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The following table shows how various deployment methods behave when basic authe
6868

6969
| Deployment method | When basic authentication is disabled |
7070
|-|-|
71-
| Visual Studio deployment | Doesn't work. |
71+
| Visual Studio deployment | Deployment with Microsoft Entra authentication requires Visual Studio 2022 version 17.12 or later. |
7272
| [FTP](deploy-ftp.md) | Doesn't work. |
7373
| [Local Git](deploy-local-git.md) | Doesn't work. |
7474
| Azure CLI | In the Azure CLI 2.48.1 or higher, the following commands fall back to Microsoft Entra authentication:<br/>[`az webapp up`](/cli/azure/webapp#az-webapp-up).<br/>[`az webapp deploy`](/cli/azure/webapp#az-webapp-deploy).<br/>[`az webapp log deployment show`](/cli/azure/webapp/log/deployment#az-webapp-log-deployment-show).<br/>[`az webapp log deployment list`](/cli/azure/webapp/log/deployment#az-webapp-log-deployment-list).<br/>[`az webapp log download`](/cli/azure/webapp/log#az-webapp-log-download).<br/>[`az webapp log tail`](/cli/azure/webapp/log#az-webapp-log-tail).<br/>[`az webapp browse`](/cli/azure/webapp#az-webapp-browse).<br/>[`az webapp create-remote-connection`](/cli/azure/webapp#az-webapp-create-remote-connection).<br/>[`az webapp ssh`](/cli/azure/webapp#az-webapp-ssh).<br/>[`az functionapp deploy`](/cli/azure/functionapp#az-functionapp-deploy).<br/>[`az functionapp log deployment list`](/cli/azure/functionapp/log/deployment#az-functionapp-log-deployment-list).<br/>[`az functionapp log deployment show`](/cli/azure/functionapp/log/deployment#az-functionapp-log-deployment-show).<br/>[`az functionapp deployment source config-zip`](/cli/azure/functionapp/deployment/source#az-functionapp-deployment-source-config-zip). |
3.79 KB
Loading

articles/azure-functions/TOC.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -484,12 +484,23 @@
484484
- name: Core Tools development
485485
href: functions-run-local.md
486486
displayName: local, runtime
487+
- name: Create a function app
488+
items:
489+
- name: Infrastructure as code
490+
href: functions-infrastructure-as-code.md
491+
displayName: bicep, ARM template, create function app
492+
- name: Azure portal
493+
href: functions-create-function-app-portal.md
494+
displayName: create function app
495+
- name: Azure CLI
496+
href: ./scripts/functions-cli-create-serverless.md
497+
displayName: create function app
487498
- name: Create functions
488499
items:
489500
- name: HTTP trigger
490501
items:
491502
- name: Azure portal
492-
href: functions-create-function-app-portal.md
503+
href: functions-create-http-endpoint.md
493504
- name: Kotlin using IntelliJ
494505
href: functions-create-maven-kotlin-intellij.md
495506
- name: Consumption plan
@@ -545,7 +556,7 @@
545556
href: bring-dependency-to-functions.md
546557
- name: Develop Python worker extensions
547558
href: develop-python-worker-extensions.md
548-
- name: Deploy
559+
- name: Deploy
549560
items:
550561
- name: Continuous deployment
551562
href: functions-continuous-deployment.md
@@ -568,9 +579,6 @@
568579
href: deployment-zip-push.md
569580
- name: Run from package
570581
href: run-functions-from-deployment-package.md
571-
- name: Automate resource deployment
572-
href: functions-infrastructure-as-code.md
573-
displayName: bicep, ARM template
574582
- name: Deploy using the Jenkins plugin
575583
href: /azure/developer/jenkins/deploy-to-azure-functions?toc=/azure/azure-functions/toc.json
576584
- name: Configure
@@ -741,6 +749,9 @@
741749
items:
742750
- name: Migrate from AWS Lambda
743751
items:
752+
- name: Migrate from AWS Lambda
753+
href: migration/migrate-aws-lambda-to-azure-functions.md
754+
displayName: AWS Lambda, migration
744755
- name: Overview
745756
href: migration/migrate-lambda-workloads-overview.md
746757
displayName: AWS Lambda, migration

articles/azure-functions/configure-networking-how-to.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Set up a secured storage account for your function app:
6666

6767
1. Secure the new storage account in one of the following ways:
6868

69-
* [Create a private endpoint](../storage/common/storage-private-endpoints.md#creating-a-private-endpoint). As you set up your private endpoint connection, create private endpoints for the `file` and `blob` subresources. For Durable Functions, you must also make `queue` and `table` subresources accessible through private endpoints. If you're using a custom or on-premises Domain Name System (DNS) server, [configure your DNS server](../storage/common/storage-private-endpoints.md#dns-changes-for-private-endpoints) to resolve to the new private endpoints.
69+
* [Create a private endpoint](../storage/common/storage-private-endpoints.md#creating-a-private-endpoint). As you set up your private endpoint connection, create private endpoints for the `file`, `blob` and `table` subresources. For Durable Functions, you must also make `queue` subresources accessible through private endpoints. If you're using a custom or on-premises Domain Name System (DNS) server, [configure your DNS server](../storage/common/storage-private-endpoints.md#dns-changes-for-private-endpoints) to resolve to the new private endpoints.
7070

7171
* [Restrict traffic to specific subnets](../storage/common/storage-network-security.md#grant-access-from-a-virtual-network). Ensure your function app is network integrated with an allowed subnet and that the subnet has only one of these service endpoints defined:
7272
* `Microsoft.Storage`: use when your app is in the same region as your virtual network.
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Azure Functions Consumption plan hosting
3-
description: Learn about how Azure Functions Consumption plan hosting lets you run your code in an environment that scales dynamically, but you only pay for resources used during execution.
4-
ms.date: 07/10/2023
3+
description: Learn about how Azure Functions Consumption plan hosting lets you run your code in an environment that scales dynamically.
4+
ms.date: 05/06/2025
55
ms.topic: conceptual
66
ms.custom:
77
- build-2024
@@ -10,7 +10,7 @@ ms.custom:
1010

1111
# Azure Functions Consumption plan hosting
1212

13-
When you're using the Consumption plan, instances of the Azure Functions host are dynamically added and removed based on the number of incoming events. The Consumption plan, along with the [Flex Consumption plan](./flex-consumption-plan.md), is a fully <em>serverless</em> hosting option for Azure Functions.
13+
When you're using the Consumption plan, instances of the Azure Functions host are dynamically added and removed based on the number of incoming events. The Consumption plan, along with the [Flex Consumption plan](./flex-consumption-plan.md), is a fully *serverless* hosting option for Azure Functions.
1414

1515
## Benefits
1616

@@ -23,29 +23,29 @@ For a comparison of the Consumption plan against the other plan and hosting type
2323
2424
## Billing
2525

26-
Billing is based on number of executions, execution time, and memory used. Usage is aggregated across all functions within a function app. For more information, see the [Azure Functions pricing page](https://azure.microsoft.com/pricing/details/functions/).
26+
Billing is based on number of executions, execution time, and memory used. Usage is aggregated across all functions within a function app. For more information, see [Azure Functions pricing](https://azure.microsoft.com/pricing/details/functions/).
2727

2828
To learn more about how to estimate costs when running in a Consumption plan, see [Understanding Consumption plan costs](functions-consumption-costs.md).
2929

3030
## Create a Consumption plan function app
3131

3232
When you create a function app in the Azure portal, the Consumption plan is the default. When using APIs to create your function app, you don't have to first create an App Service plan as you do with Premium and Dedicated plans.
3333

34-
In Consumption plan hosting, each function app typically runs in its own plan. In the Azure portal or in code, you may also see the Consumption plan referred to as `Dynamic` or `Y1`.
34+
In Consumption plan hosting, each function app typically runs in its own plan. In the Azure portal or in code, you might also see the Consumption plan referred to as `Dynamic` or `Y1`.
3535

3636
Use the following links to learn how to create a serverless function app in a Consumption plan, either programmatically or in the Azure portal:
3737

38-
+ [Azure CLI](./scripts/functions-cli-create-serverless.md)
39-
+ [Azure portal](./functions-get-started.md)
40-
+ [Azure Resource Manager template](functions-create-first-function-resource-manager.md)
38+
- [Azure CLI](./scripts/functions-cli-create-serverless.md)
39+
- [Azure portal](./functions-get-started.md)
40+
- [Azure Resource Manager template](functions-create-first-function-resource-manager.md)
4141

4242
You can also create function apps in a Consumption plan when you publish a Functions project from [Visual Studio Code](./create-first-function-vs-code-csharp.md#publish-the-project-to-azure) or [Visual Studio](functions-create-your-first-function-visual-studio.md#publish-the-project-to-azure).
4343

4444
## Multiple apps in the same plan
4545

46-
The general recommendation is for each function app to have its own Consumption plan. However, if needed, function apps in the same region can be assigned to the same Consumption plan. Keep in mind that there is a [limit to the number of function apps that can run in a Consumption plan](functions-scale.md#service-limits). Function apps in the same plan still scale independently of each other.
46+
The general recommendation is for each function app to have its own Consumption plan. However, if needed, function apps in the same region can be assigned to the same Consumption plan. Keep in mind that there's a [limit to the number of function apps that can run in a Consumption plan](functions-scale.md#service-limits). Function apps in the same plan still scale independently of each other.
4747

4848
## Next steps
4949

50-
+ [Azure Functions hosting options](functions-scale.md)
51-
+ [Event-driven scaling in Azure Functions](event-driven-scaling.md)
50+
- [Azure Functions hosting options](functions-scale.md)
51+
- [Event-driven scaling in Azure Functions](event-driven-scaling.md)

articles/azure-functions/deployment-zip-push.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ description: Use the .zip file deployment facilities of the Kudu deployment serv
44

55
ms.topic: conceptual
66
ms.custom: devx-track-azurecli, devx-track-arm-template
7-
ms.date: 08/12/2018
7+
ms.date: 05/06/2025
88
---
99

1010
# Zip deployment for Azure Functions
1111

12-
This article describes how to deploy your function app project files to Azure from a .zip (compressed) file. You learn how to do a push deployment, both by using Azure CLI and by using the REST APIs. [Azure Functions Core Tools](functions-run-local.md) also uses these deployment APIs when publishing a local project to Azure.
12+
This article describes how to deploy your function app project files to Azure from a .zip (compressed) file. You learn how to do a push deployment, both by using Azure CLI and by using the REST APIs. [Azure Functions Core Tools](functions-run-local.md) also uses these deployment APIs when publishing a local project to Azure.
1313

14-
Zip deployment is also an easy way to [run your functions from a package file in Azure](run-functions-from-deployment-package.md). It is the default deployment technology in the [Consumption](./consumption-plan.md), [Elastic Premium](./functions-premium-plan.md), and [Dedicated (App Service)](./dedicated-plan.md) hosting plans. The [Flex Consumption](./flex-consumption-plan.md) plan does not support zip deployment.
14+
Zip deployment is also an easy way to [run your functions from a package file in Azure](run-functions-from-deployment-package.md). It's the default deployment technology in the [Consumption](./consumption-plan.md), [Elastic Premium](./functions-premium-plan.md), and [Dedicated (App Service)](./dedicated-plan.md) hosting plans. The [Flex Consumption](./flex-consumption-plan.md) plan doesn't support zip deployment.
1515

1616
Azure Functions has the full range of continuous deployment and integration options that are provided by Azure App Service. For more information, see [Continuous deployment for Azure Functions](functions-continuous-deployment.md).
1717

1818
To speed up development, you might find it easier to deploy your function app project files directly from a .zip file. The .zip deployment API takes the contents of a .zip file and extracts the contents into the `wwwroot` folder of your function app. This .zip file deployment uses the same Kudu service that powers continuous integration-based deployments, including:
1919

20-
+ Deletion of files that were left over from earlier deployments.
21-
+ Deployment customization, including running deployment scripts.
22-
+ Deployment logs.
23-
+ Syncing function triggers in a [Consumption plan](functions-scale.md) function app.
20+
- Deletion of files that were left over from earlier deployments.
21+
- Deployment customization, including running deployment scripts.
22+
- Deployment logs.
23+
- Syncing function triggers in a [Consumption plan](functions-scale.md) function app.
2424

2525
For more information, see the [.zip deployment reference](https://github.com/projectkudu/kudu/wiki/Deploying-from-a-zip-file).
2626

@@ -31,11 +31,11 @@ For more information, see the [.zip deployment reference](https://github.com/pro
3131

3232
[!INCLUDE [functions-deployment-zip-structure](../../includes/functions-deployment-zip-structure.md)]
3333

34-
A zip deployment process extracts the zip archive's files and folders in the `wwwroot` directory. If you include the parent directory when creating the archive, the system will not find the files it expects to see in `wwwroot`.
34+
A zip deployment process extracts the zip archive's files and folders in the `wwwroot` directory. If you include the parent directory when creating the archive, the system won't find the files it expects to see in `wwwroot`.
3535

3636
## <a name="cli"></a>Deploy by using Azure CLI
3737

38-
You can use Azure CLI to trigger a push deployment. Push deploy a .zip file to your function app by using the [az functionapp deployment source config-zip](/cli/azure/functionapp/deployment/source#az-functionapp-deployment-source-config-zip) command. To use this command, you must use Azure CLI version 2.0.21 or later. To see what Azure CLI version you are using, use the `az --version` command.
38+
You can use Azure CLI to trigger a push deployment. Push deploy a .zip file to your function app by using the [az functionapp deployment source config-zip](/cli/azure/functionapp/deployment/source#az-functionapp-deployment-source-config-zip) command. To use this command, you must use Azure CLI version 2.0.21 or later. To see what Azure CLI version you're using, use the `az --version` command.
3939

4040
In the following command, replace the `<zip_file_path>` placeholder with the path to the location of your .zip file. Also, replace `<app_name>` with the unique name of your function app and replace `<resource_group>` with the name of your resource group.
4141

@@ -107,7 +107,7 @@ For the initial deployment, you would deploy directly to the production slot. Fo
107107

108108
## Run functions from the deployment package
109109

110-
You can also choose to run your functions directly from the deployment package file. This method skips the deployment step of copying files from the package to the `wwwroot` directory of your function app. Instead, the package file is mounted by the Functions runtime, and the contents of the `wwwroot` directory become read-only.
110+
You can also choose to run your functions directly from the deployment package file. This method skips the deployment step of copying files from the package to the `wwwroot` directory of your function app. Instead, the Functions runtime mounts the package file, and the contents of the `wwwroot` directory become read-only.
111111

112112
Zip deployment integrates with this feature, which you can enable by setting the function app setting `WEBSITE_RUN_FROM_PACKAGE` to a value of `1`. For more information, see [Run your functions from a deployment package file](run-functions-from-deployment-package.md).
113113

@@ -117,25 +117,25 @@ Zip deployment integrates with this feature, which you can enable by setting the
117117

118118
If you created your functions by using the editor in the Azure portal, you can download your existing function app project as a .zip file in one of these ways:
119119

120-
+ **From the Azure portal:**
120+
- **From the Azure portal:**
121121

122122
1. Sign in to the [Azure portal](https://portal.azure.com), and then go to your function app.
123123

124124
2. On the **Overview** tab, select **Download app content**. Select your download options, and then select **Download**.
125125

126-
![Download the function app project](./media/deployment-zip-push/download-project.png)
126+
:::image type="content" source="./media/deployment-zip-push/download-project.png" alt-text="Screenshot shows the Azure portal page to download the function app project.":::
127127

128128
The downloaded .zip file is in the correct format to be republished to your function app by using .zip push deployment. The portal download can also add the files needed to open your function app directly in Visual Studio.
129129

130-
+ **Using REST APIs:**
130+
- **Using REST APIs:**
131131

132132
Use the following deployment GET API to download the files from your `<function_app>` project:
133133

134134
```http
135135
https://<function_app>.scm.azurewebsites.net/api/zip/site/wwwroot/
136136
```
137137
138-
Including `/site/wwwroot/` makes sure your zip file includes only the function app project files and not the entire site. If you are not already signed in to Azure, you will be asked to do so.
138+
Including `/site/wwwroot/` makes sure your zip file includes only the function app project files and not the entire site. If you aren't already signed in to Azure, you are asked to do so.
139139
140140
You can also download a .zip file from a GitHub repository. When you download a GitHub repository as a .zip file, GitHub adds an extra folder level for the branch. This extra folder level means that you can't deploy the .zip file directly as you downloaded it from GitHub. If you're using a GitHub repository to maintain your function app, you should use [continuous integration](functions-continuous-deployment.md) to deploy your app.
141141

0 commit comments

Comments
 (0)