hcloud_create_primary_ip
Create a Hetzner Cloud Primary IP (IPv4 or IPv6), optionally assigning it to a server or leaving it unassigned in a specified location.
Instructions
Create a Primary IP
Create a new Primary IP.
Can optionally be assigned to a resource by providing an assignee_id and assignee_type.
If not assigned to a resource the location key needs to be provided. This can be either the ID or the name of the Location this Primary IP shall be created in.
A Primary IP can only be assigned to resource in the same Location later on.
Operation specific errors
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| wait | No | Poll the resulting action until success/error or timeout. |