Class RateLimitPolicy
- Namespace
- RateLimitClient
- Assembly
- RateLimitClient.dll
Represents a quota policy from the RateLimit-Policy header.
public class RateLimitPolicy
- Inheritance
-
objectRateLimitPolicy
Properties
Name
Policy name/identifier.
public string Name { get; set; }
Property Value
- string
PartitionKey
Partition key (pk parameter).
public string PartitionKey { get; set; }
Property Value
- string
Quota
Quota allocated in quota units (q parameter).
public long Quota { get; set; }
Property Value
- long
QuotaUnit
Quota unit type (qu parameter): "requests", "content-bytes", or "concurrent-requests".
public string QuotaUnit { get; set; }
Property Value
- string
WindowSeconds
Time window in seconds (w parameter).
public int? WindowSeconds { get; set; }
Property Value
- int?