interface RouteRule {
    backendStageId?: string;
    position: number;
    routeStageId: string;
    ruleHttpMatch?: RuleHttpMatch;
}

Properties

backendStageId?: string

ID of the backend stage that requests matching the rule should be forwarded to.

One-of ('next'): at most one of 'backendStageId' could be set.

position: number

Position of the rule which determines the order of processing within the route stage.

routeStageId: string

Route stage ID the route rule belongs to.

ruleHttpMatch?: RuleHttpMatch

Rule condition to be matched. Requests matching the condition defined here will be directly forwarded to the backend specified by the backend_stage_id field. Requests that do not match will be checked by the next rule's condition.

One-of ('match'): at most one of 'ruleHttpMatch' could be set.