LibvirtGConfig.StorageVol

g GObject.Object GObject.Object LibvirtGConfig.Object LibvirtGConfig.Object GObject.Object->LibvirtGConfig.Object LibvirtGConfig.StorageVol LibvirtGConfig.StorageVol LibvirtGConfig.Object->LibvirtGConfig.StorageVol

Subclasses:

None

Methods

Inherited:

LibvirtGConfig.Object (6), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

class

new_from_xml (xml)

set_allocation (allocation)

set_backing_store (backing_store)

set_capacity (capacity)

set_name (name)

set_target (target)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

LibvirtGConfig.Object (2)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

LibvirtGConfig.Object

r

Class Details

class LibvirtGConfig.StorageVol(**kwargs)
Bases:

LibvirtGConfig.Object

Abstract:

No

Structure:

LibvirtGConfig.StorageVolClass

classmethod new()
Return type:

LibvirtGConfig.StorageVol

classmethod new_from_xml(xml)
Parameters:

xml (str) –

Raises:

GLib.Error

Return type:

LibvirtGConfig.StorageVol

set_allocation(allocation)
Parameters:

allocation (int) –

set_backing_store(backing_store)
Parameters:

backing_store (LibvirtGConfig.StorageVolBackingStore or None) –

set_capacity(capacity)
Parameters:

capacity (int) –

set_name(name)
Parameters:

name (str or None) –

set_target(target)
Parameters:

target (LibvirtGConfig.StorageVolTarget or None) –