RateLimitMatchRequest

data class RateLimitMatchRequest(val methods: List<String>? = null, val schemes: List<String>? = null, val url: String? = null)

Constructors

Link copied to clipboard
constructor(methods: List<String>? = null, schemes: List<String>? = null, url: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val methods: List<String>? = null

The HTTP methods to match. You can specify a subset (for example, ['POST','PUT']) or all methods (['_ALL_']). This field is optional when creating a rate limit.

Link copied to clipboard
val schemes: List<String>? = null

The HTTP schemes to match. You can specify one scheme (['HTTPS']), both schemes (['HTTP','HTTPS']), or all schemes (['_ALL_']). This field is optional.

Link copied to clipboard
val url: String? = null

The URL pattern to match, composed of a host and a path such as example.org/path*. Normalization is applied before the pattern is matched. * wildcards are expanded to match applicable traffic. Query strings are not matched. Set the value to * to match all traffic to your zone.