create_load_balancer
Create a TCP load balancer with a public IP, listener, and pool, distributing traffic to specified servers. Provides health monitoring. Requires explicit cost approval before execution.
Instructions
Create a new L4 (TCP) load balancer: a VIP on your subnet, a listener + pool on port, the given VMs as members, and a public floating IP. Requires scope services:write and per-customer tenancy. SPENDS MONEY: the load balancer is billed hourly, AND the public floating IP it allocates is billed hourly as well — two separate hourly meters for one call. Pass confirm:true only after the user has approved the cost. name is the display name (1-253 chars); port is the listener + member port (1-65535); memberServerIds are the Nova server ids to balance across (at least one); healthCheck enables a TCP health monitor (defaults to true server-side if omitted). Manage it afterward with add_load_balancer_member / remove_load_balancer_member.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Load balancer display name. | |
| port | Yes | Listener + member port (1-65535). | |
| confirm | Yes | Set to true to execute. This operation spends from your account balance and/or is irreversible; only pass true after the user has explicitly approved. Omit or false → the tool refuses and makes no API call. | |
| healthCheck | No | TCP health monitor (default true). | |
| memberServerIds | Yes | Nova server ids to balance across. |