Set the targets of a pool
set_targetsREPLACES the pool's targets with exactly this list (up to 25): send every target to keep. Each machine must be in the load balancer's private network (connect_vpc first). drain: true stops new connections to a target before maintenance. Scope: network.write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lb | Yes | Load balancer id, as returned by list_load_balancers or create_load_balancer. | |
| pool | Yes | Pool id, from get_load_balancer. | |
| targets | Yes |