Set the routing rules of a listener
set_rulesREPLACES the http/https listener's rules: each sends a hostname and/or path prefix to an http pool (up to 25). They are evaluated most specific first, whatever the order sent; anything unmatched goes to the default pool. No wildcard hostname on https. Each https hostname gets a certificate once it points to the load balancer. Scope: network.write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lb | Yes | Load balancer id, as returned by list_load_balancers or create_load_balancer. | |
| rules | Yes | ||
| listener | Yes | Listener id, from get_load_balancer. |