Creating a Load Balancer Routing Policy
Create a routing policy to guide a load balancer's routing behavior.
For prerequisite information, see Routing Policies for Load Balancers.
Note
To use a routing policy, you must create a listener that uses the policy. See Creating a Listener for more information.
Use the oci lb routing-policy create command and required parameters to create a routing policy for a load balancer:
oci lb routing-policy create --name name --load-balancer-id load_balancer_id --condition-language-version condition_language_version --rules rules [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the CreateRoutingPolicy operation to create a routing policy for a load balancer.