Creating a Listener Rule
You can create a listener rule to manage redirection of incoming traffic between a load balancer and its backend instances.
This action creates a pattern associated with a specified listener, based on a path in the URI of the request. Listener rules are treated in priority order, from the highest value to the lowest value.
Once the listener rule is created, you need to register one or more target backends with it. For more information, see Registering Instances with a Listener Rule.
To modify the pattern of an existing rule, see Modifying a Listener Rule. To display the pattern and list of instances registered with a rule, see Getting Information About Your Listener Rules.
Creating a Listener Rule Using OSC CLI
See the CreateListenerRule command sample in the documentation of the OUTSCALE API.
Corresponding API Methods