Skip to content

Commit 9a2de00

Browse files
authored
Merge pull request #204921 from dlepow/patch-134
[APIM] Fixed window for quota policies
2 parents 2c530e6 + 46766cb commit 9a2de00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ To understand the difference between rate limits and quotas, [see Rate limits an
471471
| name | The name of the API or operation for which the quota applies. | Yes | N/A |
472472
| bandwidth | The maximum total number of kilobytes allowed during the time interval specified in the `renewal-period`. | Either `calls`, `bandwidth`, or both together must be specified. | N/A |
473473
| calls | The maximum total number of calls allowed during the time interval specified in the `renewal-period`. | Either `calls`, `bandwidth`, or both together must be specified. | N/A |
474-
| renewal-period | The time period in seconds after which the quota resets. When it's set to `0` the period is set to infinite.| Yes | N/A |
474+
| renewal-period | The length in seconds of the fixed window after which the quota resets. The start of each period is calculated relative to the start time of the subscription. When `renewal-period` is set to `0`, the period is set to infinite.| Yes | N/A |
475475

476476
### Usage
477477

@@ -540,7 +540,7 @@ In the following example, the quota is keyed by the caller IP address.
540540
| calls | The maximum total number of calls allowed during the time interval specified in the `renewal-period`. | Either `calls`, `bandwidth`, or both together must be specified. | N/A |
541541
| counter-key | The key to use for the quota policy. For each key value, a single counter is used for all scopes at which the policy is configured. | Yes | N/A |
542542
| increment-condition | The boolean expression specifying if the request should be counted towards the quota (`true`) | No | N/A |
543-
| renewal-period | The time period in seconds after which the quota resets. When it's set to `0` the period is set to infinite. | Yes | N/A |
543+
| renewal-period | The length in seconds of the fixed window after which the quota resets. The start of each period is calculated relative to `first-perdiod-start`. When `renewal-period` is set to `0`, the period is set to infinite. | Yes | N/A |
544544
| first-period-start | The starting date and time for quota renewal periods, in the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard. | No | `0001-01-01T00:00:00Z` |
545545

546546
> [!NOTE]

0 commit comments

Comments
 (0)