manage_haproxy_frontend_address
Add or remove bind addresses on an HAProxy frontend. Configure external IP, port, and SSL options, then apply changes immediately.
Instructions
Add or remove a bind address from an HAProxy frontend
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform ('create' or 'delete') | |
| confirm | No | Must be set to True for delete operations. Safety gate for destructive operations. | |
| extaddr | No | External address to bind to (required for create). One of the API enum values: 'custom', 'any_ipv4', 'any_ipv6', 'localhost_ipv4', 'localhost_ipv6' (interface names like 'wan'/'lan' are GUI-only and NOT accepted). Use 'custom' with extaddr_custom for a specific IP or virtual IP. | |
| parent_id | Yes | Parent frontend ID | |
| address_id | No | Address entry ID (required for delete) | |
| extaddr_ssl | No | Enable SSL/TLS for this address — also set ssloffloadcert on the parent frontend via update_haproxy_frontend for this to work | |
| extaddr_port | No | Port to bind to for this address (required for create) | |
| extaddr_custom | No | Custom IPv4/IPv6 address to bind to (used when extaddr='custom') | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||