Skip to content

Commit 82e6578

Browse files
Merge pull request #299425 from dlepow/mayenh
[APIM] Quota by key support
2 parents 6db4995 + 8b2abd9 commit 82e6578

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

articles/api-management/api-management-gateways-overview.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,11 @@ Managed and self-hosted gateways support all available [policies](api-management
128128
| [Get authorization context](get-authorization-context-policy.md) | ✔️ | ✔️ |✔️ |||
129129
| [Authenticate with managed identity](authentication-managed-identity-policy.md) | ✔️ | ✔️ |✔️ | ✔️ ||
130130
| [Azure OpenAI and LLM semantic caching](api-management-policies.md#caching) | ✔️ | ✔️ |✔️ |||
131-
| [Quota and rate limit](api-management-policies.md#rate-limiting-and-quotas) | ✔️ | ✔️<sup>2</sup> | ✔️<sup>3</sup> | ✔️<sup>4</sup> | ✔️ |
131+
| [Quota and rate limit](api-management-policies.md#rate-limiting-and-quotas) | ✔️ | ✔️ | ✔️<sup>2</sup> | ✔️<sup>3</sup> | ✔️ |
132132

133133
<sup>1</sup> Configured policies that aren't supported by the self-hosted gateway are skipped during policy execution.<br/>
134-
<sup>2</sup> The quota by key policy isn't available in the v2 tiers.<br/>
135-
<sup>3</sup> The rate limit by key, quota by key, and Azure OpenAI token limit policies aren't available in the Consumption tier.<br/>
136-
<sup>4</sup> [!INCLUDE [api-management-self-hosted-gateway-rate-limit](../../includes/api-management-self-hosted-gateway-rate-limit.md)] [Learn more](how-to-self-hosted-gateway-on-kubernetes-in-production.md#request-throttling)
134+
<sup>2</sup> The rate limit by key, quota by key, and AI token limit policies aren't available in the Consumption tier.<br/>
135+
<sup>3</sup> [!INCLUDE [api-management-self-hosted-gateway-rate-limit](../../includes/api-management-self-hosted-gateway-rate-limit.md)] [Learn more](how-to-self-hosted-gateway-on-kubernetes-in-production.md#request-throttling)
137136

138137

139138
### Monitoring

articles/api-management/api-management-policies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: azure-api-management
77
ms.custom:
88
- build-2024
99
ms.topic: reference
10-
ms.date: 10/02/2024
10+
ms.date: 05/06/2025
1111
ms.author: danlep
1212
---
1313

@@ -36,7 +36,7 @@ More information about policies:
3636
| [Limit call rate by subscription](rate-limit-policy.md) | Prevents API usage spikes by limiting call rate, on a per subscription basis. | Yes | Yes | Yes | Yes | Yes |
3737
| [Limit call rate by key](rate-limit-by-key-policy.md) | Prevents API usage spikes by limiting call rate, on a per key basis. | Yes | Yes | No | Yes | Yes |
3838
| [Set usage quota by subscription](quota-policy.md) | Allows you to enforce a renewable or lifetime call volume and/or bandwidth quota, on a per subscription basis. | Yes | Yes | Yes | Yes | Yes |
39-
| [Set usage quota by key](quota-by-key-policy.md) | Allows you to enforce a renewable or lifetime call volume and/or bandwidth quota, on a per key basis. | Yes | No | No | Yes | Yes |
39+
| [Set usage quota by key](quota-by-key-policy.md) | Allows you to enforce a renewable or lifetime call volume and/or bandwidth quota, on a per key basis. | Yes | Yes | No | Yes | Yes |
4040
| [Limit concurrency](limit-concurrency-policy.md) | Prevents enclosed policies from executing by more than the specified number of requests at a time. | Yes | Yes | Yes | Yes | Yes |
4141
| [Limit Azure OpenAI Service token usage](azure-openai-token-limit-policy.md) | Prevents Azure OpenAI API usage spikes by limiting large language model tokens per calculated key. | Yes | Yes | No | Yes | Yes |
4242
| [Limit large language model API token usage](llm-token-limit-policy.md) | Prevents large language model (LLM) API usage spikes by limiting LLM tokens per calculated key. | Yes | Yes | No | Yes | Yes |

articles/api-management/quota-by-key-policy.md

Lines changed: 2 additions & 2 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: reference
9-
ms.date: 09/16/2024
9+
ms.date: 05/06/2025
1010
ms.author: danlep
1111
---
1212
# Set usage quota by key
@@ -51,7 +51,7 @@ To understand the difference between rate limits and quotas, [see Rate limits an
5151

5252
- [**Policy sections:**](./api-management-howto-policies.md#sections) inbound
5353
- [**Policy scopes:**](./api-management-howto-policies.md#scopes) global, workspace, product, API, operation
54-
- [**Gateways:**](api-management-gateways-overview.md) classic, self-hosted, workspace
54+
- [**Gateways:**](api-management-gateways-overview.md) classic, v2, self-hosted, workspace
5555

5656
### Usage notes
5757

articles/api-management/v2-service-tiers-overview.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ The following API Management capabilities are currently unavailable in the v2 ti
9090

9191
**Gateway**
9292
* Self-hosted gateway
93-
* Quota by key policy
9493
* Cipher configuration
9594
* Client certificate renegotiation
9695
* Free, managed TLS certificate

0 commit comments

Comments
 (0)