Home

envoy.extensions.filters.http.ratelimit.v3.RateLimit

Example

Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working code.
local types = import 'types.libsonnet';

types.envoy.extensions.filters.http.ratelimit.v3.RateLimit
.withDisableXEnvoyRatelimitedHeader(false)
.withDomain('string')
.withEnableXRatelimitHeaders(types.envoy.extensions.filters.http.ratelimit.v3.RateLimit.XRateLimitHeadersRFCVersion.OFF)
.withFailureModeDeny(false)
.withRateLimitService(types.envoy.config.ratelimit.v3.RateLimitServiceConfig)
.withRateLimitedAsResourceExhausted(false)
.withRateLimitedStatus(types.envoy.type.v3.HttpStatus)
.withRequestType('string')
.withResponseHeadersToAdd([ types.envoy.config.core.v3.HeaderValueOption ])
.withStage(1)
.withTimeout(types.google.protobuf.Duration)
._validate()

Nested Enums

Fields

Name Type One-of group Required Constraints
disable_x_envoy_ratelimited_header bool  
domain string   {"String_":{"WellKnown":null,"min_len":1}}
enable_x_ratelimit_headers envoy.extensions.filters.http.ratelimit.v3.RateLimit.XRateLimitHeadersRFCVersion   {"Enum":{"defined_only":true}}
failure_mode_deny bool  
rate_limit_service envoy.config.ratelimit.v3.RateLimitServiceConfig yes 
rate_limited_as_resource_exhausted bool  
rate_limited_status envoy.type.v3.HttpStatus  
request_type string   {"String_":{"WellKnown":null,"in":["internal","external","both",""]}}
response_headers_to_add [] envoy.config.core.v3.HeaderValueOption   {"Repeated":{"max_items":10}}
stage uint32   {"Uint32":{"lte":10}}
timeout google.protobuf.Duration