update_haproxy_frontend
Modify a HAProxy frontend identified by ID, updating attributes such as name, status, backend, bind addresses, and SSL certificates.
Instructions
Update an existing HAProxy frontend by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Frontend name | |
| type | No | Frontend type | |
| descr | No | Description | |
| status | No | Frontend status (active, disabled) | |
| backend | No | Default backend name | |
| frontend_id | Yes | Frontend ID (from search_haproxy_frontends) | |
| bind_addresses | No | List of bind address dicts. Each dict maps to the pfSense API's `a_extaddr` fields: {"extaddr": "custom", "extaddr_custom": "192.168.1.100", "extaddr_port": "443", "extaddr_ssl": true}. Replaces the frontend's whole address list. | |
| ssloffloadcert | No | The default SSL/TLS certificate refid to use for this frontend when any bind address has extaddr_ssl=true (use the certificate's `refid`, not its numeric `id`). | |
| ha_certificates | No | Additional SSL/TLS certificate refids for SNI on this frontend | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||