NAME
WWW::Hetzner::Cloud::Datacenter - Hetzner Cloud Datacenter object
VERSION
version 0.002
SYNOPSIS
my $dc = $cloud->datacenters->get_by_name('fsn1-dc14');
print $dc->name, "\n"; # fsn1-dc14
print $dc->description, "\n"; # Falkenstein 1 DC14
print $dc->location, "\n"; # fsn1
DESCRIPTION
This class represents a Hetzner Cloud datacenter (virtual subdivision of a location). Objects are returned by WWW::Hetzner::Cloud::API::Datacenters methods.
Datacenters are read-only resources.
id
Datacenter ID.
name
Datacenter name, e.g. "fsn1-dc14".
description
Human-readable description.
location
Location name (convenience accessor).
data
my $hashref = $dc->data;
Returns all datacenter data as a hashref (for JSON serialization).
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-hetzner/issues.
IRC
Join #kubernetes on irc.perl.org or message Getty directly.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <torsten@raudssus.de>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.