Home

envoy.extensions.filters.network.thrift_proxy.filters.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.network.thrift_proxy.filters.ratelimit.v3.RateLimit
.withDomain('string')
.withFailureModeDeny(false)
.withRateLimitService(types.envoy.config.ratelimit.v3.RateLimitServiceConfig)
.withStage(1)
.withTimeout(types.google.protobuf.Duration)
._validate()

Fields

Name Type One-of group Required Constraints
domain string   {"String_":{"WellKnown":null,"min_len":1}}
failure_mode_deny bool  
rate_limit_service envoy.config.ratelimit.v3.RateLimitServiceConfig yes 
stage uint32   {"Uint32":{"lte":10}}
timeout google.protobuf.Duration