LibvirtGConfig.DomainSnapshot¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class LibvirtGConfig.DomainSnapshot(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- add_disk(disk)¶
- Parameters:
disk (
LibvirtGConfig.DomainSnapshotDisk
) –
- get_disks()¶
- Returns:
a newly allocated
GLib.List
ofLibvirtGConfig.DomainSnapshotDisk
.- Return type:
Gets the list of disks attached to self. The returned list should be freed with g_list_free(), after its elements have been unreffed with
GObject.Object.unref
().
- get_domain()¶
- Returns:
A
LibvirtGConfig.Domain
. The returned object should be unreffed withGObject.Object.unref
() when no longer needed.- Return type:
Gets the configuration of the domain self is a snapshot of.
- get_memory_state()¶
- Return type:
- get_state()¶
- Return type:
- set_disks(disks)¶
- Parameters:
disks ([
LibvirtGConfig.DomainSnapshotDisk
]) –
- set_memory_state(state)¶
- Parameters:
state (
LibvirtGConfig.DomainSnapshotMemoryState
) –