Skip to content

RoutineRouteProps

Properties for defining a RoutineRoute.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkesa"
&alicloudroscdkesa.RoutineRouteProps {
    RoutineName: interface{},
    SiteId: interface{},
    Bypass: interface{},
    Fallback: interface{},
    RouteEnable: interface{},
    RouteName: interface{},
    Rule: interface{},
    Sequence: interface{},
}

Properties

Name Type Description
RoutineName interface{} Property routineName: The edge function Routine name.
SiteId interface{} Property siteId: The website ID.
Bypass interface{} Property bypass: Bypass mode.
Fallback interface{} Property fallback: The exception origin fetch switch.
RouteEnable interface{} Property routeEnable: Routing switch.
RouteName interface{} Property routeName: The name of the route.
Rule interface{} Property rule: The content of the rule.
Sequence interface{} Property sequence: Rule execution order.

RoutineNameRequired

RoutineName interface{}
  • Type: interface{}

Property routineName: The edge function Routine name.


SiteIdRequired

SiteId interface{}
  • Type: interface{}

Property siteId: The website ID.


BypassOptional

Bypass interface{}
  • Type: interface{}

Property bypass: Bypass mode.

Value range:

  • on: Open
  • off: off.

FallbackOptional

Fallback interface{}
  • Type: interface{}

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

RouteEnable interface{}
  • Type: interface{}

Property routeEnable: Routing switch.

Value range:

  • on: Open
  • off: off.

RouteNameOptional

RouteName interface{}
  • Type: interface{}

Property routeName: The name of the route.


RuleOptional

Rule interface{}
  • Type: interface{}

Property rule: The content of the rule.


SequenceOptional

Sequence interface{}
  • Type: interface{}

Property sequence: Rule execution order.