Create a primary IP
cloud_create_primary_ipCreate an IPv4 or IPv6 primary IP for Hetzner Cloud, assign it to a server, or make it standalone with a location. Requires confirm true since it is billed.
Instructions
Create a primary IP. Billed. Requires confirm true. Assign to a server, or create standalone with a location.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Primary IP name. | |
| type | Yes | ipv4 or ipv6. | |
| confirm | No | Must be true. A primary IP costs money. | |
| location | No | For a standalone unassigned IP, for example fsn1. | |
| assignee_id | No | Server id to assign to. | |
| auto_delete | No | Delete the primary IP when its server is deleted. | |
| assignee_type | No | For example server, when assigning on creation. |