route_create
Create and manage new routes for Edge Routines (ER) with specified rules, modes, and configurations. Define site IDs, route names, and enable/disable options to optimize routing for Edge Security Acceleration (ESA) services.
Instructions
Create a new route associated with an Edge Routine (ER).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bypass | Yes | The bypass of the route, default is off | |
mode | Yes | The mode of the route, default is simple | |
route | No | The route of the route, if mode is simple, this field is required. For example: test.example.com/* | |
routeEnable | Yes | The enable of the route, default is on | |
routeName | Yes | The name of the route, use to identify the route. For example: test-route | |
routineName | Yes | The name of the routine | |
rule | Yes | The rule of the route, if mode is custom, this field is required | |
sequence | No | The sequence of the route, if not passed, default is the current number of routes | |
siteId | Yes | The ID of the site |