Http Route Route Rule Response
data class HttpRouteRouteRuleResponse(val action: HttpRouteRouteActionResponse, val matches: List<HttpRouteRouteMatchResponse>)
Specifies how to match traffic and how to route traffic when traffic is matched.
Constructors
Link copied to clipboard
fun HttpRouteRouteRuleResponse(action: HttpRouteRouteActionResponse, matches: List<HttpRouteRouteMatchResponse>)
Types
Properties
Link copied to clipboard
Link copied to clipboard
A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.