action hetzner_get_datacenters_id { label: "Get a Datacenter" description: "Returns a specific Datacenter object." provider: hetzner method: GET path: "/datacenters/{id}" encoding: json input: { type: "object" properties: { id: { type: "integer" } } required: ["id"] additionalProperties: false } output: { type: "object" required: ["datacenter"] properties: { datacenter: { type: "object" required: ["description", "id", "location", "name", "server_types"] properties: { description: { type: "string" description: "Description of the Datacenter" } id: { type: "integer" description: "ID of the Resource" } location: { type: "object" required: ["city", "country", "description", "id", "latitude", "longitude", "name", "network_zone"] properties: { city: { type: "string" description: "City the Location is closest to" } country: { type: "string" description: "ISO 3166-1 alpha-2 code of the country the Location resides in" } description: { type: "string" description: "Description of the Location" } id: { type: "number" description: "ID of the Location" } latitude: { type: "number" description: "Latitude of the city closest to the Location" } longitude: { type: "number" description: "Longitude of the city closest to the Location" } name: { type: "string" description: "Unique identifier of the Location" } network_zone: { type: "string" description: "Name of network zone this Location resides in" } } } name: { type: "string" description: "Unique identifier of the Datacenter" } server_types: { type: "object" description: "The Server types the Datacenter can handle" required: ["available", "available_for_migration", "supported"] properties: { available: { type: "array" description: "IDs of Server types that are supported and for which the Datacenter has enough resources left" items: { type: "number" } } available_for_migration: { type: "array" description: "IDs of Server types that are supported and for which the Datacenter has enough resources left" items: { type: "number" } } supported: { type: "array" description: "IDs of Server types that are supported in the Datacenter" items: { type: "number" } } } } } } } } }