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

Configuration Options

Basic Configuration

OptionDescriptionPossible ValuesDefault
Limit
The number of Units transferred.an integer-
UnitThe unit you want to set the limit for.
  • B
  • KB
  • MB
  • GB
B
Transfer DirectionIndicates whether uploads, downloads, or both directions should count against the limit.
  • uploaded
  • downloaded
  • uploaded + downloaded
-
GranularityThe element for which the transmitted bytes are counted.
  • Client
  • API
  • User
  • IP Address
-
PeriodThe time period over which the policy is applied.
  • Second
  • Minute
  • Hour
  • Day
  • Month
  • Year
-

Advanced Configuration

Use the advanced options to configure the response headers for the transfer quotas. These headers convey useful information to clients, such as imposed limits and when to reset the quota period. Override the default header names by entering your own.

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