Skip to content

RoutineRouteProps

Properties for defining a RoutineRoute.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-routineroute

Initializer

import com.aliyun.ros.cdk.esa.RoutineRouteProps;
RoutineRouteProps.builder()
    .routineName(java.lang.String)
    .routineName(IResolvable)
    .siteId(java.lang.Number)
    .siteId(IResolvable)
//  .bypass(java.lang.String)
//  .bypass(IResolvable)
//  .fallback(java.lang.String)
//  .fallback(IResolvable)
//  .routeEnable(java.lang.String)
//  .routeEnable(IResolvable)
//  .routeName(java.lang.String)
//  .routeName(IResolvable)
//  .rule(java.lang.String)
//  .rule(IResolvable)
//  .sequence(java.lang.Number)
//  .sequence(IResolvable)
    .build();

Properties

Name Type Description
routineName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property routineName: The edge function Routine name.
siteId java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property siteId: The website ID.
bypass java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property bypass: Bypass mode.
fallback java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property fallback: The exception origin fetch switch.
routeEnable java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property routeEnable: Routing switch.
routeName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property routeName: The name of the route.
rule java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property rule: The content of the rule.
sequence java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property sequence: Rule execution order.

routineNameRequired

public java.lang.Object getRoutineName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property routineName: The edge function Routine name.


siteIdRequired

public java.lang.Object getSiteId();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property siteId: The website ID.


bypassOptional

public java.lang.Object getBypass();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property bypass: Bypass mode.

Value range:

  • on: Open
  • off: off.

fallbackOptional

public java.lang.Object getFallback();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property fallback: The exception origin fetch switch.

After you turn on this switch, if a function exception occurs, such as CPU usage exceeding the upper limit, requests are sent back to the origin. Valid values: on off


routeEnableOptional

public java.lang.Object getRouteEnable();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property routeEnable: Routing switch.

Value range:

  • on: Open
  • off: off.

routeNameOptional

public java.lang.Object getRouteName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property routeName: The name of the route.


ruleOptional

public java.lang.Object getRule();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property rule: The content of the rule.


sequenceOptional

public java.lang.Object getSequence();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property sequence: Rule execution order.