NAME

WWW::Hetzner::Cloud::Location - Hetzner Cloud Location object

VERSION

version 0.002

SYNOPSIS

my $loc = $cloud->locations->get_by_name('fsn1');

print $loc->name, "\n";         # fsn1
print $loc->city, "\n";         # Falkenstein
print $loc->country, "\n";      # DE
print $loc->network_zone, "\n"; # eu-central

DESCRIPTION

This class represents a Hetzner Cloud location (physical data center site). Objects are returned by WWW::Hetzner::Cloud::API::Locations methods.

Locations are read-only resources.

id

Location ID.

name

Location name, e.g. "fsn1", "nbg1", "hel1".

description

Human-readable description.

city

City name, e.g. "Falkenstein".

country

Country code, e.g. "DE".

network_zone

Network zone, e.g. "eu-central".

data

my $hashref = $loc->data;

Returns all location 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.