ZonedApiCreateRouteRequest: {
    backendId: string;
    frontendId: string;
    match?: RouteMatch;
    zone?: Zone;
}

Type declaration

  • backendId: string

    ID of the target backend for the route.

  • frontendId: string

    ID of the source frontend to create the route on.

  • Optionalmatch?: RouteMatch

    Object defining the match condition for a route to be applied. If an incoming client session matches the specified condition (i.e. it has a matching SNI value or HTTP Host header value), it will be passed to the target backend.

  • Optionalzone?: Zone

    Zone to target. If none is passed will use default zone from the config.