The Transfer Quota Policy tracks the number of bytes transferred (either uploaded or downloaded) rather than the total number of requests made.
Configuration Options
|
Option |
Type |
Description |
Possible Values |
Default |
|---|---|---|---|---|
|
Transfer Data Quota |
Integer |
The number of bytes transferred. |
B
|
B |
|
Transfer direction |
Enum |
Indicates whether uploads, downloads, or both directions should count against the limit. |
upload
upload+download |
None |
|
Granularity |
Enum |
The element for which the transmitted bytes are counted. |
Client
|
None |
|
Period |
Enum |
The time period over which the policy is applied. |
Second
|
None |
|
Limit Response Header |
String |
Optional. HTTP response header that API Management will use to store the limit being applied. |
- |
X-TransferQuota-Limit |
|
Remaining Response Header |
String |
Optional. HTTP response header that API Management will use to store how many requests remain before the limit is reached. |
- |
X-TransferQuota-Remaining |
|
Reset Response Header |
String |
Optional. HTTP response header that API Management will use to store the number of seconds until the limit is reset. |
- |
X-TransferQuota--Reset |