The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Sys::Async::Virt::DomainSnapshot - Client side proxy to remote LibVirt domain snapshot

VERSION

v0.0.1

SYNOPSIS

DESCRIPTION

EVENTS

CONSTRUCTOR

new

METHODS

delete

  await $snapshot->delete( $flags = 0 );
  # -> (* no data *)

See documentation of virDomainSnapshotDelete.

get_parent

  $snap = await $snapshot->get_parent( $flags = 0 );

See documentation of virDomainSnapshotGetParent.

get_xml_desc

  $xml = await $snapshot->get_xml_desc( $flags = 0 );

See documentation of virDomainSnapshotGetXMLDesc.

has_metadata

  $metadata = await $snapshot->has_metadata( $flags = 0 );

See documentation of virDomainSnapshotHasMetadata.

is_current

  $current = await $snapshot->is_current( $flags = 0 );

See documentation of virDomainSnapshotIsCurrent.

list_all_children

  $snapshots = await $snapshot->list_all_children( $need_results, $flags = 0 );

See documentation of virDomainSnapshotListAllChildren.

list_children_names

  $names = await $snapshot->list_children_names( $maxnames, $flags = 0 );

See documentation of virDomainSnapshotListChildrenNames.

num_children

  $num = await $snapshot->num_children( $flags = 0 );

See documentation of virDomainSnapshotNumChildren.

revert_to_snapshot

  await $snapshot->revert_to_snapshot( $flags = 0 );
  # -> (* no data *)

See documentation of virDomainRevertToSnapshot.

CONSTANTS

XML_SECURE
LIST_ROOTS
LIST_DESCENDANTS
LIST_LEAVES
LIST_NO_LEAVES
LIST_METADATA
LIST_NO_METADATA
LIST_INACTIVE
LIST_ACTIVE
LIST_DISK_ONLY
LIST_INTERNAL
LIST_EXTERNAL
LIST_TOPOLOGICAL
REVERT_RUNNING
REVERT_PAUSED
REVERT_FORCE
REVERT_RESET_NVRAM
DELETE_CHILDREN
DELETE_METADATA_ONLY
DELETE_CHILDREN_ONLY

SEE ALSO

LibVirt, Sys::Virt

LICENSE AND COPYRIGHT

  Copyright (C) 2024 Erik Huelsmann

All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.