Create Floating IP
hetzner_create_floating_ipCreate a new floating IP for a Hetzner cloud server, specifying either a home location or a server ID to assign it to. Optionally add a name, description, or labels.
Instructions
Create a new floating IP. Either home_location or server must be provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | IP type | |
| home_location | No | Home location name (e.g. "fsn1"). Required if server is not set | |
| server | No | Server ID to assign the floating IP to. Required if home_location is not set | |
| description | No | Description of the floating IP | |
| name | No | Name of the floating IP | |
| labels | No | Labels as key-value pairs |