LibvirtGObject.DomainSnapshot¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The domain_snapshot handle |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class LibvirtGObject.DomainSnapshot(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- delete(flags)¶
- Parameters:
flags (
int
) – Bitwise or ofLibvirtGObject.DomainSnapshotDeleteFlags
- Raises:
- Returns:
- Return type:
- delete_async(flags, cancellable, callback, *user_data)¶
- Parameters:
flags (
int
) – Bitwise-OR ofLibvirtGObject.DomainSnapshotDeleteFlags
cancellable (
Gio.Cancellable
orNone
) – cancellation objectcallback (
Gio.AsyncReadyCallback
orNone
) – completion callback
- delete_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – async method result- Raises:
- Returns:
- Return type:
- get_config(flags)¶
- Parameters:
flags (
int
) – the flags- Raises:
- Returns:
the config. The returned object should be unreffed with
GObject.Object.unref
() when no longer needed.- Return type:
- get_is_current(flags)¶
- revert_to(flags)¶
- Parameters:
flags (
int
) – Bitwise OR ofLibvirtGObject.DomainSnapshotRevertFlags
- Raises:
- Returns:
True
if the snapshot’s domain has successfully been reverted to the given snapshot,False
otherwise, in which case error will be set.- Return type:
- revert_to_async(flags, cancellable, callback, *user_data)¶
- Parameters:
flags (
int
) – Bitwise OR ofLibvirtGObject.DomainSnapshotRevertFlags
cancellable (
Gio.Cancellable
orNone
) – cancellation objectcallback (
Gio.AsyncReadyCallback
orNone
) – The callback
- revert_to_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) – The result- Raises:
- Returns:
- Return type:
- set_config(conf)¶
- Parameters:
conf (
LibvirtGConfig.DomainSnapshot
) – The new config object- Raises:
- Returns:
- Return type:
Updates the given snapshot’s configuration according to the given
LibvirtGConfig.DomainSnapshot
.
Property Details¶
- LibvirtGObject.DomainSnapshot.props.handle¶
- Name:
handle
- Type:
- Default Value:
- Flags:
The domain_snapshot handle