hcloud_primary_ip_change_protection_action
Enable or disable deletion protection for a Hetzner Primary IP; enabling requires auto_delete set to false to prevent accidental removal.
Instructions
Change Primary IP Protection
Changes the protection configuration of a Primary IP.
A Primary IPs deletion protection can only be enabled if its auto_delete property is set to false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the Primary IP. | |
| body | Yes | Protection configuration for the Resource. | |
| wait | No | Poll the resulting action until success/error or timeout. |