local types = import 'types.libsonnet'; types.envoy.config.route.v3.RedirectAction .withHostRedirect('string') .withHttpsRedirect(false) .withPathRedirect('string') .withPortRedirect(1) .withPrefixRewrite('string') .withRegexRewrite(types.envoy.type.matcher.v3.RegexMatchAndSubstitute) .withResponseCode(types.envoy.config.route.v3.RedirectAction.RedirectResponseCode.MOVED_PERMANENTLY) .withSchemeRedirect('string') .withStripQuery(false) ._validate()
Name | Type | One-of group | Required | Constraints |
---|---|---|---|---|
host_redirect | string |
{"String_":{"WellKnown":{"WellKnownRegex":2},"strict":false}}
|
||
https_redirect | bool | scheme_rewrite_specifier |
|
|
path_redirect | string | path_rewrite_specifier |
{"String_":{"WellKnown":{"WellKnownRegex":2},"strict":false}}
|
|
port_redirect | uint32 |
|
||
prefix_rewrite | string | path_rewrite_specifier |
{"String_":{"WellKnown":{"WellKnownRegex":2},"strict":false}}
|
|
regex_rewrite | envoy.type.matcher.v3.RegexMatchAndSubstitute | path_rewrite_specifier |
|
|
response_code | envoy.config.route.v3.RedirectAction.RedirectResponseCode |
{"Enum":{"defined_only":true}}
|
||
scheme_redirect | string | scheme_rewrite_specifier |
|
|
strip_query | bool |
|