Home

envoy.config.route.v3.RouteAction

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.config.route.v3.RouteAction
.withAppendXForwardedHost(false)
.withAutoHostRewrite(false)
.withCluster('string')
.withClusterHeader('string')
.withClusterNotFoundResponseCode(types.envoy.config.route.v3.RouteAction.ClusterNotFoundResponseCode.SERVICE_UNAVAILABLE)
.withClusterSpecifierPlugin('string')
.withCors(types.envoy.config.route.v3.CorsPolicy)
.withEarlyDataPolicy(types.envoy.config.core.v3.TypedExtensionConfig)
.withGrpcTimeoutOffset(types.google.protobuf.Duration)
.withHashPolicy([ types.envoy.config.route.v3.RouteAction.HashPolicy ])
.withHedgePolicy(types.envoy.config.route.v3.HedgePolicy)
.withHostRewriteHeader('string')
.withHostRewriteLiteral('string')
.withHostRewritePathRegex(types.envoy.type.matcher.v3.RegexMatchAndSubstitute)
.withIdleTimeout(types.google.protobuf.Duration)
.withIncludeVhRateLimits(false)
.withInlineClusterSpecifierPlugin(types.envoy.config.route.v3.ClusterSpecifierPlugin)
.withInternalRedirectAction(types.envoy.config.route.v3.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT)
.withInternalRedirectPolicy(types.envoy.config.route.v3.InternalRedirectPolicy)
.withMaxGrpcTimeout(types.google.protobuf.Duration)
.withMaxInternalRedirects(1)
.withMaxStreamDuration(types.envoy.config.route.v3.RouteAction.MaxStreamDuration)
.withMetadataMatch(types.envoy.config.core.v3.Metadata)
.withPathRewritePolicy(types.envoy.config.core.v3.TypedExtensionConfig)
.withPrefixRewrite('string')
.withPriority(types.envoy.config.core.v3.RoutingPriority.DEFAULT)
.withRateLimits([ types.envoy.config.route.v3.RateLimit ])
.withRegexRewrite(types.envoy.type.matcher.v3.RegexMatchAndSubstitute)
.withRequestMirrorPolicies([ types.envoy.config.route.v3.RouteAction.RequestMirrorPolicy ])
.withRetryPolicy(types.envoy.config.route.v3.RetryPolicy)
.withRetryPolicyTypedConfig(types.google.protobuf.Any)
.withTimeout(types.google.protobuf.Duration)
.withUpgradeConfigs([ types.envoy.config.route.v3.RouteAction.UpgradeConfig ])
.withWeightedClusters(types.envoy.config.route.v3.WeightedCluster)
._validate()

Nested Enums

Nested Messages

Fields

Name Type One-of group Required Constraints
append_x_forwarded_host bool  
auto_host_rewrite google.protobuf.BoolValue host_rewrite_specifier  
cluster string cluster_specifier   {"String_":{"WellKnown":null,"min_len":1}}
cluster_header string cluster_specifier   {"String_":{"WellKnown":{"WellKnownRegex":1},"min_len":1,"strict":false}}
cluster_not_found_response_code envoy.config.route.v3.RouteAction.ClusterNotFoundResponseCode   {"Enum":{"defined_only":true}}
cluster_specifier_plugin string cluster_specifier  
cors envoy.config.route.v3.CorsPolicy  
early_data_policy envoy.config.core.v3.TypedExtensionConfig  
grpc_timeout_offset google.protobuf.Duration  
hash_policy [] envoy.config.route.v3.RouteAction.HashPolicy  
hedge_policy envoy.config.route.v3.HedgePolicy  
host_rewrite_header string host_rewrite_specifier   {"String_":{"WellKnown":{"WellKnownRegex":1},"strict":false}}
host_rewrite_literal string host_rewrite_specifier   {"String_":{"WellKnown":{"WellKnownRegex":2},"strict":false}}
host_rewrite_path_regex envoy.type.matcher.v3.RegexMatchAndSubstitute host_rewrite_specifier  
idle_timeout google.protobuf.Duration  
include_vh_rate_limits google.protobuf.BoolValue  
inline_cluster_specifier_plugin envoy.config.route.v3.ClusterSpecifierPlugin cluster_specifier  
internal_redirect_action envoy.config.route.v3.RouteAction.InternalRedirectAction  
internal_redirect_policy envoy.config.route.v3.InternalRedirectPolicy  
max_grpc_timeout google.protobuf.Duration  
max_internal_redirects google.protobuf.UInt32Value  
max_stream_duration envoy.config.route.v3.RouteAction.MaxStreamDuration  
metadata_match envoy.config.core.v3.Metadata  
path_rewrite_policy envoy.config.core.v3.TypedExtensionConfig  
prefix_rewrite string   {"String_":{"WellKnown":{"WellKnownRegex":2},"strict":false}}
priority envoy.config.core.v3.RoutingPriority   {"Enum":{"defined_only":true}}
rate_limits [] envoy.config.route.v3.RateLimit  
regex_rewrite envoy.type.matcher.v3.RegexMatchAndSubstitute  
request_mirror_policies [] envoy.config.route.v3.RouteAction.RequestMirrorPolicy  
retry_policy envoy.config.route.v3.RetryPolicy  
retry_policy_typed_config google.protobuf.Any  
timeout google.protobuf.Duration  
upgrade_configs [] envoy.config.route.v3.RouteAction.UpgradeConfig  
weighted_clusters envoy.config.route.v3.WeightedCluster cluster_specifier