NAME

WWW::Hetzner::Storage::API::Snapshots - Hetzner Storage Box Snapshots API

VERSION

version 0.101

SYNOPSIS

my $snapshots = $box->snapshots;
my $snapshot = $snapshots->create(description => 'before upgrade');

DESCRIPTION

Manages snapshots within one Storage Box.

list

my $snapshots = $box->snapshots->list(%query);

Returns an arrayref of WWW::Hetzner::Storage::Snapshot objects. The API accepts name, label_selector, sort, and is_automatic filters.

get

my $snapshot = $box->snapshots->get($id);

Returns a WWW::Hetzner::Storage::Snapshot.

create

my $snapshot = $box->snapshots->create(%params);

Creates a snapshot. description and labels are optional. Returns a Snapshot with its creation action.

update

my $snapshot = $box->snapshots->update($id, %params);

Updates a snapshot's description and/or labels. Returns the updated Snapshot without an action.

delete

my $action = $box->snapshots->delete($id);

Deletes a snapshot and returns its action.

SEE ALSO

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 <torsten@raudssus.de> https://raudssus.de/.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.