NAME

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

VERSION

version 0.001

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).

NAME

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

ATTRIBUTES

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.

METHODS

data

my $hashref = $image->data;

Returns all image data as a hashref (for JSON serialization).

SUPPORT

Source Code

The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)

https://github.com/Getty/p5-www-hetzner

git clone https://github.com/Getty/p5-www-hetzner.git

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.