The Transfer Quota Policy tracks the number of bytes transferred (either uploaded or downloaded) rather than the total number of requests made.

Configuration Options

OptionTypeDescriptionPossible ValuesDefault
Transfer Data QuotaIntegerThe number of bytes transferred.B
KB
MB
GB
B
Transfer directionEnumIndicates whether uploads, downloads, or both directions should count against the limit.

upload
download

upload+download
None
GranularityEnumThe element for which the transmitted bytes are counted.

Client
User
API
IP Address

None
PeriodEnumThe time period over which the policy is applied.

Second
Minute
Hour
Day
Month
Year

None
Limit Response HeaderStringOptional. HTTP response header that API Management will use to store the limit being applied.-X-TransferQuota-Limit
Remaining Response HeaderStringOptional. HTTP response header that API Management will use to store how many requests remain before the limit is reached.-X-TransferQuota-Remaining
Reset Response HeaderStringOptional. HTTP response header that API Management will use to store the number of seconds until the limit is reset.-X-TransferQuota--Reset
On this Page: