LibvirtGConfig.DomainDisk¶
- Subclasses:
None
Methods¶
- Inherited:
LibvirtGConfig.DomainDevice (1), LibvirtGConfig.Object (6), GObject.Object (37)
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class LibvirtGConfig.DomainDisk(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- get_disk_type()¶
- Return type:
- get_driver()¶
- Returns:
A
LibvirtGConfig.DomainDiskDriver
. The returned object should be unreffed withGObject.Object.unref
() when no longer needed.- Return type:
Gets the driver configuration for self.
- get_driver_cache()¶
- Return type:
- get_driver_format()¶
- Return type:
- get_driver_type()¶
- Return type:
Deprecated since version 0.1.7: Use
LibvirtGConfig.DomainDisk.get_driver_format
() instead
- get_guest_device_type()¶
- Return type:
- get_snapshot_type()¶
- Return type:
- get_startup_policy()¶
- Return type:
- get_target_bus()¶
- Return type:
- set_driver(driver)¶
- Parameters:
driver (
LibvirtGConfig.DomainDiskDriver
orNone
) – aLibvirtGConfig.DomainDiskDriver
Uses driver as the driver configuration for self.
- set_driver_cache(cache_type)¶
- Parameters:
cache_type (
LibvirtGConfig.DomainDiskCacheType
) –
- set_driver_format(format)¶
- Parameters:
format (
LibvirtGConfig.DomainDiskFormat
) –
- set_driver_type(driver_type)¶
- Parameters:
driver_type (
str
) –
Deprecated since version 0.1.7: Use
LibvirtGConfig.DomainDisk.set_driver_format
() instead
- set_guest_device_type(type)¶
- Parameters:
- set_snapshot_type(type)¶
- Parameters:
- set_startup_policy(policy)¶
- Parameters:
policy (
LibvirtGConfig.DomainDiskStartupPolicy
) –
- set_target_bus(bus)¶
- Parameters:
bus (
LibvirtGConfig.DomainDiskBus
) –
- set_type(type)¶
- Parameters:
type (
LibvirtGConfig.DomainDiskType
) –