Guestfs.DiskCreate

g GObject.Object GObject.Object Guestfs.DiskCreate Guestfs.DiskCreate GObject.Object->Guestfs.DiskCreate

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

backingfile

str

r/w/c

A string.

backingformat

str

r/w/c

A string.

clustersize

int

r/w/c

A 32-bit integer.

compat

str

r/w/c

A string.

preallocation

str

r/w/c

A string.

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class Guestfs.DiskCreate(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Guestfs.DiskCreateClass

An object encapsulating optional arguments for Guestfs.Session.disk_create.

classmethod new()
Returns:

a new Guestfs.DiskCreate object

Return type:

Guestfs.DiskCreate

Create a new Guestfs.DiskCreate object

Property Details

Guestfs.DiskCreate.props.backingfile
Name:

backingfile

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT

A string.

Guestfs.DiskCreate.props.backingformat
Name:

backingformat

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT

A string.

Guestfs.DiskCreate.props.clustersize
Name:

clustersize

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE, CONSTRUCT

A 32-bit integer.

Guestfs.DiskCreate.props.compat
Name:

compat

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT

A string.

Guestfs.DiskCreate.props.preallocation
Name:

preallocation

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT

A string.