NAME

WWW::Hetzner::Storage::Snapshot - Hetzner Storage Box Snapshot object

VERSION

version 0.101

SYNOPSIS

my $snapshot = $box->snapshots->get($id);
$snapshot->description('before upgrade');
my $updated = $snapshot->update;

DESCRIPTION

Represents a Storage Box snapshot returned by WWW::Hetzner::Storage::API::Snapshots.

id

Snapshot ID (read-only).

storage_box

ID of the parent Storage Box (read-only).

name

Snapshot name (read-only).

description

Snapshot description (read-write).

labels

Labels hashref (read-write).

stats

Snapshot statistics data (read-only).

is_automatic

True when the snapshot was created by a snapshot plan (read-only).

created

Creation timestamp (read-only).

update

my $updated = $snapshot->update;

Saves the object's current description and labels. Returns the updated Snapshot.

delete

my $action = $snapshot->delete;

Deletes this snapshot and returns its action.

data

my $hashref = $snapshot->data;

Returns the complete Snapshot representation returned by the API.

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.