hcloud_network_change_ip_range_action
Extend a Hetzner Cloud Network's private IPv4 range by changing its CIDR netmask; IP ranges can only grow, so reboot connected servers or update routes to apply changes.
Instructions
Change IP range of a Network
Changes the IP range of a Network.
The following restrictions apply to changing the IP range:
IP ranges can only be extended and never shrunk.
IPs can only be added to the end of the existing range, therefore only the netmask is allowed to be changed.
To update the routes on the connected Servers, they need to be rebooted or the routes to be updated manually.
For example if the Network has a range of 10.0.0.0/16 to extend it the new range has to start with the IP 10.0.0.0 as well. The netmask /16 can be changed to a smaller one then 16 therefore increasing the IP range. A valid entry would be 10.0.0.0/15, 10.0.0.0/14 or 10.0.0.0/13 and so on.
If a change is currently being performed on this Network, a error response with code conflict will be returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the Network. | |
| body | Yes | ||
| wait | No | Poll the resulting action until success/error or timeout. |