NAME

WWW::VastAI::API::Volumes - Volume creation and deletion for Vast.ai

VERSION

version 0.001

DESCRIPTION

Provides access to the Vast.ai volume endpoints and returns WWW::VastAI::Volume objects.

METHODS

list

Returns an arrayref of volume objects.

create

my $volume = $vast->volumes->create(
    size  => 10,
    label => 'training-cache',
);

Creates a volume and returns a wrapped object. If the API only returns a scalar ID, the returned object contains that ID.

delete

Deletes a volume by ID.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-vastai/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.