Hetzner Cloud icon

Hetzner Cloud

Manage servers, volumes, networks and more in Hetzner Cloud

Primary IP → Get Many

AI-generated

Summary

Lists Primary IPs in the Hetzner Cloud project via GET /v1/primary_ips and returns the primary_ips array unwrapped. Supports a result limit, page number, and label-selector filtering.

Inputs

  • Limit — Max results per request, sent as per_page. Range 1–50, default 50. It is a page size, not a cap across pages.
  • Options > Page — 1-based page number to fetch, sent as page. Use it with Limit to walk through more than 50 results manually.
  • Options > Label Selector — Hetzner label selector expression (e.g. env=prod), sent as label_selector, to filter Primary IPs by label.
  • Request Options — Node settings for batching (items per batch, interval), ignoring SSL certificate issues, an HTTP proxy, and a request timeout (default 10000 ms).

Output shape

The primary_ips array from the API response, unwrapped by a rootProperty post-receive step, so each Primary IP is returned as its own item (id, name, ip, type, assignee, labels, etc. as provided by Hetzner).

Pagination is not automatic: only one page is fetched per execution, at most 50 items. Increment Page to get further results. Only Limit, Page and Label Selector are available as filters; there are no name or other filters for this resource.

Examples

Example 1: List all Primary IPs in the project

Resource: Primary IP, Operation: Get Many, Limit: 50, no options.

Example 2: Find production Primary IPs

Get Many with Options > Label Selector set to env=prod.

Example 3: Fetch the second page of results

Get Many with Limit 50 and Options > Page set to 2.

Links

Discussion