Skip to content

Commit a25455b

Browse files
Merge pull request #310577 from MicrosoftDocs/main
Auto Publish – main to live - 2026-01-16 06:00 UTC
2 parents aaf36f5 + 917638b commit a25455b

115 files changed

Lines changed: 1147 additions & 1598 deletions

File tree

Some content is hidden

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

articles/azure-cache-for-redis/cache-how-to-active-geo-replication.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Configure active geo-replication for Enterprise Azure Cache for Redis ins
33
description: Learn how to replicate your Azure Cache for Redis Enterprise instances across Azure regions.
44
ms.custom: devx-track-azurecli, ignite-2024
55
ms.topic: conceptual
6-
ms.date: 01/15/2025
6+
ms.date: 01/15/2026
77
appliesto:
88
- ✅ Azure Cache for Redis
99
---
@@ -211,7 +211,9 @@ To monitor the _Geo Replication Healthy_ metric in the Azure portal:
211211

212212
- Use of custom Hash tags – Using custom hashtags in Redis can lead to uneven distribution of data across shards, which might cause performance issues and synchronization problems in geo-replicas therefore avoid using custom hashtags unless the database needs to perform multiple key operations.
213213

214-
- Large Key Size - Large keys can create synchronization issues among geo-replicas. To maintain smooth performance and reliable replication, we recommend keeping key sizes under 500MB when using geo-replication. If individual key size gets close to 2GB the cache faces geo-replication health issues.
214+
- Large Key Size - Large keys can create synchronization issues among geo-replicas. To maintain smooth performance and reliable replication, we recommend keeping key sizes under 500MB when using geo-replication. If individual key size gets close to 2GB the cache faces geo-replication health issues.
215+
216+
- Out of Memory - When the nodes are close to their memory limit, they become unable to sync data across caches, leading to stale data. Stale data affects the health of all caches in the replication group. Set an appropriate Time to Live (TTL) or eviction policy.
215217

216218
### Flush caches using Azure CLI or PowerShell
217219

articles/azure-functions/.openpublishing.redirection.azure-functions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,11 @@
660660
"redirect_url": "/azure/azure-functions/how-to-create-function-vs-code?pivots=programming-language-javascript",
661661
"redirect_document_id": false
662662
},
663+
{
664+
"source_path_from_root": "/articles/azure-functions/python-313-changes.md",
665+
"redirect_url": "/azure/azure-functions/functions-reference-python#python-313-updates",
666+
"redirect_document_id": false
667+
},
663668
{
664669
"source_path_from_root": "/articles/azure-functions/functions-bindings-mongodb-vcore-input.md",
665670
"redirect_url": "/azure/azure-functions/functions-bindings-documentdb-input",

articles/azure-functions/TOC.yml

Lines changed: 22 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -338,35 +338,30 @@
338338
href: functions-reference-powershell.md
339339
- name: Python
340340
items:
341-
- name: Developer reference guide
342-
displayName: python
343-
href: functions-reference-python.md
344-
- name: Updates for Python 3.13+
345-
displayName: python
346-
href: python-313-changes.md
347-
- name: Programming models
348-
displayName: python
349-
href: functions-reference-python.md#programming-model
350-
- name: Binding definitions for Python v2
351-
href: functions-bindings-triggers-python.md
352-
- name: Python worker extensions
353-
href: develop-python-worker-extensions.md
354-
- name: Scale and performance recommendations
355-
displayName: python
356-
href: python-scale-performance-reference.md
357-
- name: Troubleshooting
358-
items:
359-
- name: General troubleshooting
341+
- name: Developer reference guide
360342
displayName: python
361-
href: recover-python-functions.md
362-
- name: Memory profiling
343+
href: functions-reference-python.md
344+
- name: Build Options
363345
displayName: python
364-
href: python-memory-profiler-reference.md
365-
- name: Python library API reference for Functions
366-
href: /python/api/azure-functions/azure.functions
367-
- name: Samples
368-
displayName: python
369-
href: /samples/browse/?products=azure-functions&languages=python
346+
href: python-build-options.md
347+
- name: Scale and performance recommendations
348+
displayName: python
349+
href: python-scale-performance-reference.md
350+
- name: Samples
351+
displayName: python
352+
href: /samples/browse/?products=azure-functions&languages=python
353+
- name: Python worker extensions
354+
href: develop-python-worker-extensions.md
355+
- name: Troubleshooting
356+
items:
357+
- name: General troubleshooting
358+
displayName: python
359+
href: recover-python-functions.md
360+
- name: Memory profiling
361+
displayName: python
362+
href: python-memory-profiler-reference.md
363+
- name: Python SDK API reference
364+
href: /python/api/azure-functions/azure.functions
370365
- name: How-to guides
371366
items:
372367
- name: Develop

articles/azure-functions/develop-python-worker-extensions.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ ms.custom: devx-track-python, py-fresh-zinc
88

99
# Develop Python worker extensions for Azure Functions
1010

11-
Azure Functions lets you integrate custom behaviors as part of Python function execution. This feature enables you to create business logic that customers can easily use in their own function apps. To learn more, see the [Python developer reference](functions-reference-python.md#python-worker-extensions). Worker extensions are supported in both the v1 and v2 Python programming models.
11+
> [!NOTE]
12+
> Starting with Python 3.13, python worker extensions will no longer be supported.
13+
14+
Azure Functions lets you integrate custom behaviors as part of Python function execution. This feature enables you to create business logic that customers can easily use in their own function apps. Worker extensions are supported in both the v1 and v2 Python programming models.
1215

1316
In this tutorial, you'll learn how to:
1417
> [!div class="checklist"]
@@ -20,7 +23,7 @@ In this tutorial, you'll learn how to:
2023

2124
Before you start, you must meet these requirements:
2225

23-
* [Python 3.7 or above](https://www.python.org/downloads). To check the full list of supported Python versions in Azure Functions, see the [Python developer guide](functions-reference-python.md#python-version).
26+
* [Python 3.7 or above](https://www.python.org/downloads). To check the full list of supported Python versions in Azure Functions, see the [Python developer guide](functions-reference-python.md#supported-python-versions).
2427

2528
* The [Azure Functions Core Tools](functions-run-local.md#v2), version 4.0.5095 or later, which supports using the extension with the [v2 Python programming model](./functions-reference-python.md). Check your version with `func --version`.
2629

articles/azure-functions/durable/quickstart-python-vscode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Review the following table for an explanation of each function and its purpose i
162162
| `http_start` | An [HTTP-triggered function](../functions-bindings-http-webhook.md) that starts an instance of the orchestration and returns a `check status` response. |
163163

164164
> [!NOTE]
165-
> Durable Functions also supports Python v2 programming model [blueprints](../functions-reference-python.md#blueprints). To use blueprints, register your blueprint functions by using the [azure-functions-durable](https://pypi.org/project/azure-functions-durable) `Blueprint` [class](https://github.com/Azure/azure-functions-durable-python/blob/dev/samples-v2/blueprint/durable_blueprints.py). You can register the resulting blueprint as usual. You can use our [sample](https://github.com/Azure/azure-functions-durable-python/tree/dev/samples-v2/blueprint) as an example.
165+
> Durable Functions also supports Python v2 programming model [blueprints](../functions-reference-python.md#organizing-with-blueprints). To use blueprints, register your blueprint functions by using the [azure-functions-durable](https://pypi.org/project/azure-functions-durable) `Blueprint` [class](https://github.com/Azure/azure-functions-durable-python/blob/dev/samples-v2/blueprint/durable_blueprints.py). You can register the resulting blueprint as usual. You can use our [sample](https://github.com/Azure/azure-functions-durable-python/tree/dev/samples-v2/blueprint) as an example.
166166
167167
## Configure storage emulator
168168

articles/azure-functions/event-driven-scaling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Event-driven Scaling in Azure Functions
33
description: Explains the scaling behaviors of Consumption plan and Premium plan function apps.
4-
ms.date: 12/12/2025
4+
ms.date: 12/22/2025
55
ms.topic: concept-article
66
ms.service: azure-functions
77
ms.custom:

articles/azure-functions/flex-consumption-plan.md

Lines changed: 40 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ Currently, Flex Consumption offers these instance size options:
5353

5454
| Instance Memory (MB) | CPU Cores |
5555
|-----------------|-----------|
56-
| 512 | 0.25 |
57-
| 2048 | 1 |
58-
| 4096 | 2 |
56+
| 512 | 0.25 |
57+
| 2048 | 1 |
58+
| 4096 | 2 |
5959

6060
> [!NOTE]
61-
> The CPU core values shown are typical allocations for instances with the specified memory size. However, initial instances might be granted slightly different core allocations to improve performance. Each Flex Consumption instance also includes an additional 272 MB of memory allocated by the platform as a buffer for system and host processes. This additional memory doesn't affect billing, and instances are billed based on the configured instance memory size shown in the table above.
61+
> The CPU core values shown are typical allocations for instances with the specified memory size. However, initial instances might be granted slightly different core allocations to improve performance. Each Flex Consumption instance also includes an extra 272 MB of memory allocated by the platform as a buffer for system and host processes. This extra memory doesn't affect billing, and instances are billed based on the configured instance memory size shown in the preceding table.
6262
6363
When deciding on which instance memory size to use with your apps, here are some things to consider:
6464

@@ -89,7 +89,7 @@ All other functions in the app are scaled individually in their own set of insta
8989

9090
Flex Consumption includes an _always ready_ feature that lets you choose instances that are always running and assigned to each of your per-function scale groups or functions. Always ready is a great option for scenarios where you need to have a minimum number of instances always ready to handle requests. For example, to reduce your application's cold start latency. The default is 0 (zero).
9191

92-
For example, if you set always ready to 2 for your HTTP group of functions, the platform keeps two instances always running and assigned to your app for your HTTP functions in the app. Those instances are processing your function executions, but depending on concurrency settings, the platform scales beyond those two instances with on-demand instances.
92+
For example, if you set always ready to 2 for your HTTP group of functions, the platform keeps two instances always running for those functions. Those instances process your function executions first. Depending on concurrency settings, the platform scales beyond those two instances with on-demand instances.
9393

9494
No less than two always-ready instances can be configured per function or function group while [zone redundancy is enabled](../reliability/reliability-functions.md?pivots=flex-consumption-plan#availability-zone-support).
9595

@@ -103,7 +103,7 @@ To learn how to set concurrency limits for HTTP trigger functions, see [Set HTTP
103103

104104
## Deployment
105105

106-
Deployments in the Flex Consumption plan follow a single path, and there's no longer the need for app settings to influence deployment behavior. After your project code is built and zipped into an application package, it's deployed to a blob storage container. On startup, your app gets the package and runs your function code from this package. By default, the same storage account used to store internal host metadata (AzureWebJobsStorage) is also used as the deployment container. However, you can use an alternative storage account or choose your preferred authentication method by [configuring your app's deployment settings](flex-consumption-how-to.md#configure-deployment-settings).
106+
Deployments in the Flex Consumption plan follow a single path, and there's no longer the need for app settings to influence deployment behavior. Your project code is built and zipped into an application package, then deployed to a blob storage container. On startup, your app gets the package and runs your function code from this package. By default, the same storage account used to store internal host metadata (AzureWebJobsStorage) is also used as the deployment container. However, you can use an alternative storage account or choose your preferred authentication method by [configuring your app's deployment settings](flex-consumption-how-to.md#configure-deployment-settings).
107107

108108
### Zero-downtime deployments
109109

@@ -136,22 +136,44 @@ This table shows the language stack versions that are currently supported for Fl
136136

137137
## Regional subscription memory quotas
138138

139-
The Flex Consumption plan has a memory-based quota that limits how much compute all your Flex Consumption apps can use at the same time in a specific region and subscription. Imagine you have a bucket of memory measured in GB or CPU cores for your entire subscription in a region. All your Flex Consumption apps in that region share this bucket. If your Flex Consumption apps try to use more than the quota allows, some executions may be delayed or throttled from scaling, but you won’t be blocked from creating or deploying apps.
139+
All Flex Consumption apps in a subscription and region share a compute quota, like a shared bucket of resources. This quota applies only to Flex Consumption apps — other hosting plans like Consumption, Premium, and Dedicated don't count against it. The quota limits how much total compute your Flex Consumption apps can use at the same time. If your apps try to exceed the quota, some executions and deployments might be delayed or fail, and scaling is throttled. However, you can still create new apps.
140140

141-
Currently, each region in a given subscription has a default quota of the lesser of either `512,000 MB` or 250 cores for all instances of apps running on Flex Consumption plans. These quotas mean that, in a given subscription and region, you could have any combination of instance memory sizes and counts, as long as they stay under the quota limits. For example, in each of these scenarios the quota is reached, and apps in the region stops scaling:
141+
### Default quota
142142

143-
+ You have one 512-MB app scaled to 250 instances and a second 512-MB app scaled to 750 instances.
144-
+ You have one 512-MB app scaled to 1,000 instances.
145-
+ You have one 2,048-MB app scaled to 100 and a second 2,048-MB app scaled to 150 instances
146-
+ You have one 2,048-MB app that scaled out to 250 instances
147-
+ You have one 4,096-MB app that scaled out to 125 instances
148-
+ You have one 4,096-MB app scaled to 100 and one 2,048-MB app scaled to 50 instances
143+
Each region in a subscription has a default quota of **250 cores** (equivalent to **512,000 MB**) for all Flex Consumption app instances combined. You can use any combination of instance sizes and counts, as long as the total cores stay under the quota.
149144

150-
Flex Consumption apps scaled to zero, or instances marked to be scaled in and deleted, don't count against the quota. This quota can be increased to allow your Flex Consumption apps to scale further, depending on your requirements. If your apps require a larger quota, create a support ticket.
145+
To calculate the cores used, multiply the cores per instance by the number of instances:
146+
147+
| Instance size | Cores per instance | Formula |
148+
|---------------|--------------------|------------------|
149+
| 512 MB | 0.25 | instances × 0.25 |
150+
| 2,048 MB | 1 | instances × 1 |
151+
| 4,096 MB | 2 | instances × 2 |
152+
153+
### Quota examples
154+
155+
Each of these scenarios reaches the 250 core quota limit. When the quota is reached, apps in the region stop scaling:
156+
157+
| Scenario | Calculation | Total cores |
158+
| ----------------------------------------------------------------------- | --------------------- | ----------- |
159+
| One 512-MB app at 1,000 instances | 1,000 × 0.25 | 250 |
160+
| Two 512-MB apps at 250 and 750 instances | (250 + 750) × 0.25 | 250 |
161+
| One 2,048-MB app at 250 instances | 250 × 1 | 250 |
162+
| Two 2,048-MB apps at 100 and 150 instances | (100 + 150) × 1 | 250 |
163+
| One 4,096-MB app at 125 instances | 125 × 2 | 250 |
164+
| One 4,096-MB app at 100 instances + one 2,048-MB app at 50 instances | (100 × 2) + (50 × 1) | 250 |
165+
166+
### Important notes
167+
168+
+ Flex Consumption scales rapidly based on [concurrency](#concurrency) settings, so apps frequently acquire and release cores from the quota as demand changes.
169+
+ Flex Consumption apps that scale to zero, or instances marked to be scaled in and deleted, don't count against the quota.
170+
+ Always ready instances count against quota.
171+
+ A **Flex Consumption Quota tool** is available in the Azure portal. Open any Flex Consumption app in your subscription, select **Diagnose and solve problems**, search for `Flex Consumption Quota`, then choose a region. The tool displays recommendations, current quota information, and historical usage views.
172+
+ This quota can be increased pending capacity review. For example, from 250 cores to 1,000 cores or more. To request a larger quota, create a support ticket or contact your Microsoft account team.
151173

152174
## Deprecated properties and settings
153175

154-
In the Flex Consumption plan, many of the standard application settings and site configuration properties are deprecated or have moved and shouldn't be used when automating function app resource creation. For more information, see [Flex Consumption plan deprecations](functions-app-settings.md#flex-consumption-plan-deprecations).
176+
In the Flex Consumption plan, many standard application settings and site configuration properties are deprecated or moved. Don't use these settings when you automate function app resource creation. For more information, see [Flex Consumption plan deprecations](functions-app-settings.md#flex-consumption-plan-deprecations).
155177

156178
## Considerations
157179

@@ -164,9 +186,9 @@ Keep these other considerations in mind when using Flex Consumption plan:
164186
+ **Triggers**: While all triggers are fully supported in a Flex Consumption plan, the Blob storage trigger only supports the [Event Grid source](./functions-event-grid-blob-trigger.md). Non-C# function apps must use version `[4.0.0, 5.0.0)` of the [extension bundle](./extension-bundles.md), or a later version.
165187
+ **Regions**: Not all regions are currently supported. To learn more, see [View currently supported regions](flex-consumption-how-to.md#view-currently-supported-regions).
166188
+ **Deployments**: Deployment slots aren't currently supported. For zero downtime deployments with Flex Consumption, see [Site update strategies in Flex Consumption](flex-consumption-site-updates.md).
167-
+ **Azure Storage as a local share**: NFS file shares are not available for Flex Consumption. Only SMB and Azure Blobs (read-only) are supported.
189+
+ **Azure Storage as a local share**: Network File System (NFS) file shares aren't available for Flex Consumption. Only Server Message Block (SMB) and Azure Blobs (read-only) are supported.
168190
+ **Scale**: The lowest maximum scale is currently `40`. The highest currently supported value is `1000`.
169-
+ **Managed dependencies**: [Managed dependencies in PowerShell](functions-reference-powershell.md#managed-dependencies-feature) aren't supported by Flex Consumption. You must instead [upload modules with app content](functions-reference-powershell.md#including-modules-in-app-content).
191+
+ **Managed dependencies**: Flex Consumption doesn't support [managed dependencies in PowerShell](functions-reference-powershell.md#managed-dependencies-feature). You must instead [upload modules with app content](functions-reference-powershell.md#including-modules-in-app-content).
170192
+ **Certificates**: Loading certificates with the WEBSITE_LOAD_CERTIFICATES app setting, managed certificates, app service certificates, and other platform certificate-based features like endToEndEncryptionEnabled are currently not supported.
171193
+ **Timezones**: `WEBSITE_TIME_ZONE` and `TZ` app settings aren't currently supported when running on Flex Consumption plan.
172194

0 commit comments

Comments
 (0)