NAME

WWW::Hetzner::Cloud::Image - Hetzner Cloud Image object

VERSION

version 0.002

SYNOPSIS

my $image = $cloud->images->get_by_name('debian-13');

print $image->name, "\n";        # debian-13
print $image->description, "\n"; # Debian 13
print $image->type, "\n";        # system
print $image->os_flavor, "\n";   # debian
print $image->os_version, "\n";  # 13

DESCRIPTION

This class represents a Hetzner Cloud image. Objects are returned by WWW::Hetzner::Cloud::API::Images methods.

Images are read-only resources (snapshots and backups can be deleted via the API).

id

Image ID.

name

Image name, e.g. "debian-13".

description

Human-readable description.

type

Image type: system, snapshot, or backup.

status

Image status: available or creating.

os_flavor

OS flavor: debian, ubuntu, centos, fedora, etc.

os_version

OS version string.

architecture

CPU architecture: x86 or arm.

disk_size

Minimum disk size in GB.

created

Creation timestamp.

deprecated

Deprecation timestamp if deprecated, undef otherwise.

labels

Labels hash.

data

my $hashref = $image->data;

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