hcloud_list_datacenters
Retrieves all Hetzner Cloud data centers, with optional filtering by exact name, sorting, and pagination controls. Use it to discover available data center locations for server placement.
Instructions
List Data Centers
Deprecated: This endpoint is deprecated as of 01 June 2026 and will be removed after 01 October 2026.
Returns all Data Centers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Filter resources by their name. The response will only contain the resources matching exactly the specified name. | |
| page | No | Page number to return. For more information, see "[Pagination](#description/pagination)". | |
| sort | No | Sort resources by field and direction. May be used multiple times. For more information, see "[Sorting](#description/sorting)". | |
| per_page | No | Maximum number of entries returned per page. For more information, see "[Pagination](#description/pagination)". | |
| auto_paginate | No | Auto-merge all pages up to the soft-cap. Set false to use raw page/per_page. |