Skip to content

Commit 851a8d5

Browse files
committed
Merge remote-tracking branch 'upstream/main' into fxl---import-issue-ado-bug--32885338
2 parents 8ab9722 + fa5403a commit 851a8d5

File tree

1,377 files changed

+21705
-4521
lines changed

Some content is hidden

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

1,377 files changed

+21705
-4521
lines changed

.gitignore

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,23 @@ AzureMigration.ps1
2626
*.pdn
2727

2828
# Pycharm
29-
.idea/*
29+
.idea/*
30+
articles/planetary-computer/doc-tree-generator.py
31+
.gitignore
32+
articles/planetary-computer/article_links_diagram.md
33+
articles/planetary-computer/index_helper.py
34+
articles/planetary-computer/metadata_index.csv
35+
articles/planetary-computer/broken_link_checker.py
36+
articles/planetary-computer/broken_links_external.csv
37+
articles/planetary-computer/broken_links.csv
38+
articles/planetary-computer/check_orphaned_docs.py
39+
40+
# Python cache files
41+
*.pyc
42+
__pycache__/
43+
articles/planetary-computer/interesting_stats.py
44+
articles/planetary-computer/locate_text.py
45+
articles/planetary-computer/image_syntax_checker.py
46+
articles/planetary-computer/image-file-fixer.py
47+
articles/planetary-computer/orphaned-media.py
48+
articles/planetary-computer/orphaned_media_files.txt

.openpublishing.publish.config.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,30 @@
140140
"branch": "main",
141141
"branch_mapping": {}
142142
},
143+
{
144+
"path_to_root": "remote-mcp-functions-dotnet",
145+
"url": "https://github.com/Azure-Samples/remote-mcp-functions-dotnet",
146+
"branch": "main",
147+
"branch_mapping": {}
148+
},
149+
{
150+
"path_to_root": "remote-mcp-functions-typescript",
151+
"url": "https://github.com/Azure-Samples/remote-mcp-functions-typescript",
152+
"branch": "main",
153+
"branch_mapping": {}
154+
},
155+
{
156+
"path_to_root": "remote-mcp-functions-python",
157+
"url": "https://github.com/Azure-Samples/remote-mcp-functions-python",
158+
"branch": "main",
159+
"branch_mapping": {}
160+
},
161+
{
162+
"path_to_root": "remote-mcp-functions-java",
163+
"url": "https://github.com/Azure-Samples/remote-mcp-functions-java",
164+
"branch": "main",
165+
"branch_mapping": {}
166+
},
143167
{
144168
"path_to_root": "azure-functions-durable-js",
145169
"url": "https://github.com/Azure/azure-functions-durable-js",
@@ -158,6 +182,12 @@
158182
"branch": "dev",
159183
"branch_mapping": {}
160184
},
185+
{
186+
"path_to_root": "azure-functions-mongodb-extension",
187+
"url": "https://github.com/Azure/Azure-functions-mongodb-extension",
188+
"branch": "main",
189+
"branch_mapping": {}
190+
},
161191
{
162192
"path_to_root": "azure-functions-nodejs-v4",
163193
"url": "https://github.com/Azure/azure-functions-nodejs-samples",

.openpublishing.redirection.json

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2394,6 +2394,11 @@
23942394
"redirect_url": "/azure/architecture/web-apps/guides/multi-region-app-service/multi-region-app-service",
23952395
"redirect_document_id": false
23962396
},
2397+
{
2398+
"source_path_from_root": "/articles/app-service/app-service-configure-premium-tier.md",
2399+
"redirect_url": "/azure/app-service/app-service-configure-premium-v4-tier",
2400+
"redirect_document_id": false
2401+
},
23972402
{
23982403
"source_path_from_root": "/articles/public-multi-access-edge-compute-mec/tutorial-create-vm-using-python-sdk.md",
23992404
"redirect_url": "/previous-versions/azure/public-multi-access-edge-compute-mec/tutorial-create-vm-using-python-sdk",
@@ -6851,7 +6856,27 @@
68516856
},
68526857
{
68536858
"source_path_from_root": "/articles/azure-functions/migration.md",
6854-
"redirect_url": "/azure/azure-functions/migration/migrate-lambda-workloads-overview",
6859+
"redirect_url": "/azure/azure-functions/migration/migrate-aws-lambda-to-azure-functions",
6860+
"redirect_document_id": false
6861+
},
6862+
{
6863+
"source_path": "articles/azure-functions/migration/migrate-lambda-workloads-overview.md",
6864+
"redirect_url": "/azure/azure-functions/migration/migrate-aws-lambda-to-azure-functions",
6865+
"redirect_document_id": false
6866+
},
6867+
{
6868+
"source_path": "articles/azure-functions/migration/discover-lambda-workloads.md",
6869+
"redirect_url": "/azure/azure-functions/migration/migrate-aws-lambda-to-azure-functions",
6870+
"redirect_document_id": false
6871+
},
6872+
{
6873+
"source_path": "articles/azure-functions/migration/assess-lambda-workloads.md",
6874+
"redirect_url": "/azure/azure-functions/migration/migrate-aws-lambda-to-azure-functions",
6875+
"redirect_document_id": false
6876+
},
6877+
{
6878+
"source_path": "articles/azure-functions/migration/migrate-lambda-workloads.md",
6879+
"redirect_url": "/azure/azure-functions/migration/migrate-aws-lambda-to-azure-functions",
68556880
"redirect_document_id": false
68566881
},
68576882
{

articles/active-directory-b2c/service-limits.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,17 +186,18 @@ As a protection for our customers, Microsoft places some restrictions on telepho
186186
| 20 | Egypt | 50 | 200 |
187187
| 211 | South Sudan | 10 | 30 |
188188
| 212 | Morocco | 20 | 100 |
189+
| 213 | Algeria | 20 | 100 |
189190
| 216 | Tunisia | 20 | 100 |
190191
| 221 | Senegal | 10 | 30 |
191192
| 223 | Mali | 20 | 100 |
192193
| 224 | Guinea | 20 | 100 |
193-
| 225 | Côte d’Ivoire | 10 | 30 |
194+
| 225 | Ivory Coast| 10 | 30 |
194195
| 226 | Burina Faso | 10 | 30 |
195196
| 228 | Togo | 10 | 30 |
196197
| 233 | Ghana| 10 | 30 |
197198
| 234 | Nigeria | 20 | 100 |
198199
| 236 | Central African Republic  | 10 | 30 |
199-
| 238 | Cabo Verde | 10 | 30 |
200+
| 238 | Cape Verde | 10 | 30 |
200201
| 249 | Sudan | 10 | 30 |
201202
| 251 | Ethiopia  | 10 | 30 |
202203
| 252 | Somalia | 10 | 30 |
@@ -208,18 +209,21 @@ As a protection for our customers, Microsoft places some restrictions on telepho
208209
| 261 | Madagascar | 10 | 30 |
209210
| 263 | Zimbabwe | 10 | 30 |
210211
| 265 | Malawi  | 10 | 30 |
212+
| 373 | Moldova | 20 | 100 |
211213
| 375 | Belarus   | 10 | 30 |
212214
| 386 | Slovenia | 10 | 50 |
213215
| 501 | Belize| 10 | 30 |
214216
| 502 | Guatemala | 10 | 50
215217
| 503 | El Salvador | 10 | 30 |
216-
| 52 | Mexico | 100 | 500
218+
| 52 | Mexico | 100 | 500 |
219+
| 53 | Cuba | 10 | 30 |
217220
| 58 | Venezuela| 10 | 30 |
218221
| 591 | Bolivia | 10 | 30 |
219222
| 60 | Malaysia | 50 | 200 |
220223
| 62 | Indonesia | 50 | 200 |
221224
| 63 | Philippines | 50 | 200 |
222-
| 670 | Timor-Leste  | 10 | 30 |
225+
| 670 | East Timor (Timor-Leste)  | 10 | 30 |
226+
| 675 | Papua New Guinea  | 10 | 30 |
223227
| 7 | Russia | 100 | 1000 |
224228
| 84 | Vietnam | 150 | 500 |
225229
| 855 | Cambodia | 50 | 200 |
@@ -228,8 +232,9 @@ As a protection for our customers, Microsoft places some restrictions on telepho
228232
| 92 | Pakistan| 100 | 1000 |
229233
| 93 | Afghanistan  | 10 | 30 |
230234
| 94 | Sri Lanka | 100 | 500 |
231-
| 95 | Myanmar | 10 | 30 |
235+
| 95 | Myanmar (Burma) | 10 | 30 |
232236
| 961 | Lebanon  | 10 | 30 |
237+
| 963 | Syria  | 10 | 30 |
233238
| 967 | Yemen |10 | 30 |
234239
| 970 | State of Palestine| 10 | 30 |
235240
| 972 | Israel  | 50 | 200 |

articles/api-management/api-management-capacity.md

Lines changed: 39 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: Capacity metrics - Azure API Management | Microsoft Docs
2+
title: Capacity Metrics - Azure API Management
33
description: This article explains the capacity metrics in Azure API Management and how to make informed decisions about whether to scale an instance.
44
services: api-management
55
author: dlepow
66

77
ms.service: azure-api-management
88
ms.topic: how-to
9-
ms.date: 10/01/2024
9+
ms.date: 04/17/2025
1010
ms.author: danlep
1111
ms.custom: fasttrack-edit
1212
---
@@ -19,18 +19,18 @@ API Management provides [Azure Monitor metrics](api-management-howto-use-azure-m
1919

2020
This article explains the capacity metrics and how they behave, shows how to access capacity metrics in the Azure portal, and suggests when to consider scaling or upgrading your API Management instance.
2121

22-
[!INCLUDE [api-management-workspace-availability](../../includes/api-management-workspace-availability.md)]
23-
2422
> [!IMPORTANT]
25-
> This article introduces how to monitor and scale your Azure API Management instance based on capacity metrics. However, when an instance *reaches* its capacity, it won't throttle to prevent overload. Instead, it will act like an overloaded web server: increased latency, dropped connections, and timeout errors. API clients should be ready to handle these issues as they do with other external services, for example by using retry policies.
23+
> This article introduces how to monitor and scale your Azure API Management instance based on capacity metrics. However, when an instance *reaches* its capacity, it won't throttle to prevent overload. Instead, it will act like an overloaded web server: increased latency, dropped connections, and time-out errors. API clients should be ready to handle these issues as they do with other external services, for example by using retry policies.
24+
25+
[!INCLUDE [api-management-workspace-try-it](../../includes/api-management-workspace-try-it.md)]
2626

2727
## Prerequisites
2828

2929
To follow the steps in this article, you must have an API Management instance in one of the tiers that supports capacity metrics. For more information, see [Create an Azure API Management instance](get-started-create-service-instance.md).
3030

3131
## Available capacity metrics
3232

33-
Different capacity metrics are available in the [v2 service tiers](v2-service-tiers-overview.md) and classic tiers.
33+
Different capacity metrics are available in the [v2 service tiers](v2-service-tiers-overview.md), classic tiers, and [workspace gateways](workspaces-overview.md#workspace-gateway).
3434

3535
#### [v2 tiers](#tab/v2-tiers)
3636

@@ -66,6 +66,21 @@ Available aggregations for this metric are as follows.
6666

6767
[!INCLUDE [api-management-cpu-memory-capacity](../../includes/api-management-cpu-memory-capacity.md)]
6868

69+
#### [Workspace gateways](#tab/workspace-gateway)
70+
71+
In a workspace gateway, the following metrics are available:
72+
73+
* **CPU Utilization (%)** - The percentage of CPU capacity used by the gateway units.
74+
75+
* **Memory Utilization (%)** - The percentage of memory capacity used by the gateway units.
76+
77+
Available aggregations for these metrics are as follows.
78+
79+
* **Avg** - Average percentage of capacity used across gateway processes in every [unit](upgrade-and-scale.md) of a workspace gateway.
80+
* **Max** - Percentage of capacity in gateway process with the greatest consumption.
81+
82+
[!INCLUDE [api-management-cpu-memory-capacity](../../includes/api-management-cpu-memory-capacity.md)]
83+
6984
---
7085

7186
## Capacity metric behavior
@@ -85,7 +100,7 @@ The more complex operations on the requests are, the higher the capacity consump
85100

86101
Capacity metrics can also spike intermittently or be greater than zero even if no requests are being processed. It happens because of system- or platform-specific actions and should not be taken into consideration when deciding whether to scale an instance.
87102

88-
Although capacity metrics are designed to surface problems with your API Management instance, there are cases when problems won't be reflected in changes in these metrics. Additionally, low capacity metrics don't necessarily mean that your API Management instance isn't experiencing any problems.
103+
Although capacity metrics are designed to surface problems with your API Management instance (or workspace gateway), there are cases when problems won't be reflected in changes in these metrics. Additionally, low capacity metrics don't necessarily mean that your API Management instance isn't experiencing any problems.
89104

90105

91106
## Use the Azure portal to examine capacity metrics
@@ -128,19 +143,32 @@ Access metrics in the portal to understand how much capacity is used over time.
128143
> * You can use Azure Monitor [autoscaling](api-management-howto-autoscale.md) to automatically add an Azure API Management unit. Scaling operation can take around 30 minutes, so you should plan your rules accordingly.
129144
> * In multi-region deployments, only scaling the primary location is allowed.
130145
146+
#### [Workspace gateways](#tab/workspace-gateway)
147+
148+
1. Navigate to your API Management instance in the [Azure portal](https://portal.azure.com/).
149+
1. In the left menu, under **APIs**, select **Workspaces** > the workspace associated with the gateway that you want to monitor.
150+
1. In the left menu, under **Deployment + infrastructure**, select **Gateways** > the workspace gateway that you want to monitor.
151+
1. In the left menu, under **Monitoring**, select **Metrics**.
152+
1. Select the **CPU Utilization (%)** or **Memory Utilization (%)** metric from the available metrics. Choose the default **Avg** aggregation or select the **Max** aggregation to see the peak usage.
153+
1. Pick a desired timeframe from the top bar of the section.
154+
155+
> [!NOTE]
156+
> You can set a [metric alert](api-management-howto-use-azure-monitor.md#set-up-an-alert-rule) to let you know when something unexpected is happening. For example, get notifications when your workspace gateway has exceeded its expected peak CPU or Memory usage for more than 20 minutes.
157+
158+
131159
---
132160

133161
## Use capacity for scaling decisions
134162

135-
Use capacity metrics for making decisions whether to scale an API Management instance to accommodate more load. The following are general considerations:
163+
Use capacity metrics for making decisions whether to scale an API Management instance (or workspace gateway) to accommodate more load. The following are general considerations:
136164

137165
+ Look at a long-term trend and average.
138166
+ Ignore sudden spikes that are most likely not related to an increase in load (see [Capacity metric behavior](#capacity-metric-behavior) section for explanation).
139167
+ As a general rule, upgrade or scale your instance when a capacity metric value exceeds **60% - 70%** for a long period of time (for example, 30 minutes). Different values may work better for your service or scenario.
140-
+ If your instance is configured with only 1 unit, upgrade or scale your instance when a capacity metric value exceeds **40%** for a long period. This recommendation is based on the need to reserve capacity for guest OS updates in the underlying service platform.
168+
+ If your instance or workspace gateway is configured with only 1 unit, upgrade or scale it when a capacity metric value exceeds **40%** for a long period. This recommendation is based on the need to reserve capacity for guest OS updates in the underlying service platform.
141169

142-
>[!TIP]
143-
> If you are able to estimate your traffic beforehand, test your API Management instance on workloads you expect. You can increase the request load on your tenant gradually and monitor the value of the capacity metric that corresponds to your peak load. Follow the steps from the previous section to use Azure portal to understand how much capacity is used at any given time.
170+
> [!TIP]
171+
> If you are able to estimate your traffic beforehand, test your API Management instance or workspace gateway on workloads you expect. You can increase the request load gradually and monitor the value of the capacity metric that corresponds to your peak load. Follow the steps from the previous section to use Azure portal to understand how much capacity is used at any given time.
144172
145173
> [!IMPORTANT]
146174
> When defining autoscaling rules, make sure to avoid autoscaling flapping that will cause a scale in/scale out loop. To learn more, we recommend reading [Azure Monitor Autoscale's guidance around flapping](/azure/azure-monitor/autoscale/autoscale-flapping).

articles/api-management/api-management-faq.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ sections:
6262
* The [API Management REST API](/rest/api/apimanagement/)
6363
* Azure client SDKs for [.NET](/dotnet/api/overview/azure/api-management), [JavaScript](/javascript/api/overview/azure/api-management), [Java](/java/api/overview/azure/api-management), and other languages
6464
* [Azure PowerShell](/powershell/module/az.apimanagement/) and [Azure CLI](/cli/azure/apim)
65-
* [Azure Resource Manager](/azure/templates/microsoft.apimanagement/allversions) and Bicep templates. See example [quickstart templates](https://azure.microsoft.com/resources/templates/?Page=2&term=api+management).
65+
* [Azure Resource Manager](/azure/templates/microsoft.apimanagement/allversions) and Bicep files. See example [quickstart templates](https://azure.microsoft.com/resources/templates/?Page=2&term=api+management).
6666
* [Terraform](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/api_management)
6767
6868
- question: |

articles/api-management/api-management-howto-app-insights.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: dlepow
66

77
ms.service: azure-api-management
88
ms.topic: how-to
9-
ms.date: 09/04/2024
9+
ms.date: 04/09/2025
1010
ms.author: danlep
1111
ms.custom: engagement-fy23, devx-track-arm-template, devx-track-bicep
1212
---
@@ -121,7 +121,7 @@ Use the API Management [Logger - Create or Update](/rest/api/apimanagement/curre
121121

122122
#### [Bicep](#tab/bicep)
123123

124-
Include a snippet similar to the following in your Bicep template.
124+
Include a snippet similar to the following in your Bicep file.
125125

126126
```Bicep
127127
resource aiLoggerWithSystemAssignedIdentity 'Microsoft.ApiManagement/service/loggers@2022-08-01' = {
@@ -181,7 +181,7 @@ Use the API Management [Logger - Create or Update](/rest/api/apimanagement/curre
181181

182182
#### [Bicep](#tab/bicep)
183183

184-
Include a snippet similar the following in your Bicep template.
184+
Include a snippet similar the following in your Bicep file.
185185

186186
```Bicep
187187
resource aiLoggerWithUserAssignedIdentity 'Microsoft.ApiManagement/service/loggers@2022-08-01' = {
@@ -244,7 +244,7 @@ If you are configuring the logger for a workspace, use the [Workspace Logger - C
244244

245245
#### [Bicep](#tab/bicep)
246246

247-
Include a snippet similar to the following in your Bicep template.
247+
Include a snippet similar to the following in your Bicep file.
248248

249249
If you are configuring the logger for a workspace, create a `Microsoft.ApiManagement/service.workspace/loggers@2023-09-01-preview` resource instead.
250250

articles/api-management/api-management-howto-log-event-hubs.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ To create an Event Hubs connection string, see [Get an Event Hubs connection str
5858
## Create an API Management logger
5959
The next step is to configure a [logger](/rest/api/apimanagement/current-ga/logger) in your API Management service so that it can log events to the event hub.
6060

61-
Create and manage API Management loggers by using the [API Management REST API](/rest/api/apimanagement/current-preview/logger/create-or-update) directly or by using tools including [Azure PowerShell](/powershell/module/az.apimanagement/new-azapimanagementlogger), a Bicep template, or an Azure Resource Management template.
61+
Create and manage API Management loggers by using the [API Management REST API](/rest/api/apimanagement/current-preview/logger/create-or-update) directly or by using tools including [Azure PowerShell](/powershell/module/az.apimanagement/new-azapimanagementlogger), a Bicep file, or an Azure Resource Management template.
6262

6363
### Option 1: Logger with managed identity credentials (recommended)
6464

@@ -89,7 +89,7 @@ Use the API Management [Logger - Create or Update](/rest/api/apimanagement/curre
8989

9090
#### [Bicep](#tab/bicep)
9191

92-
Include a snippet similar to the following in your Bicep template.
92+
Include a snippet similar to the following in your Bicep file.
9393

9494
```Bicep
9595
resource ehLoggerWithSystemAssignedIdentity 'Microsoft.ApiManagement/service/loggers@2022-08-01' = {
@@ -155,7 +155,7 @@ Use the API Management [Logger - Create or Update](/rest/api/apimanagement/curre
155155

156156
#### [Bicep](#tab/bicep)
157157

158-
Include a snippet similar to the following in your Bicep template.
158+
Include a snippet similar to the following in your Bicep file.
159159

160160
```Bicep
161161
resource ehLoggerWithUserAssignedIdentity 'Microsoft.ApiManagement/service/loggers@2022-08-01' = {
@@ -220,7 +220,7 @@ New-AzApiManagementLogger -Context $context -LoggerId "ContosoLogger1" -Name "Ap
220220

221221
#### [Bicep](#tab/bicep)
222222

223-
Include a snippet similar to the following in your Bicep template.
223+
Include a snippet similar to the following in your Bicep file.
224224

225225
```Bicep
226226
resource ehLoggerWithConnectionString 'Microsoft.ApiManagement/service/loggers@2022-08-01' = {

0 commit comments

Comments
 (0)