GoVirt.StorageDomain

g GObject.GInterface GObject.GInterface Gio.Initable Gio.Initable GObject.GInterface->Gio.Initable GObject.Object GObject.Object GoVirt.Resource GoVirt.Resource GObject.Object->GoVirt.Resource Gio.Initable->GoVirt.Resource GoVirt.StorageDomain GoVirt.StorageDomain GoVirt.Resource->GoVirt.StorageDomain

Subclasses:

None

Methods

Inherited:

GoVirt.Resource (10), GObject.Object (37), Gio.Initable (2)

Structs:

GObject.ObjectClass (5)

class

new ()

get_disks ()

get_files ()

Virtual Methods

Inherited:

GoVirt.Resource (2), GObject.Object (7), Gio.Initable (1)

Properties

Inherited:

GoVirt.Resource (5)

Name

Type

Flags

Short Description

available

int

r/w

Space available in the storage domain in bytes

committed

int

r/w

Space committed in the storage domain in bytes

data-center-href

str

r/w

Data Center href for the Storage Domain

data-center-id

str

r/w

Data Center Id for the Storage Domain

data-center-ids

[str]

r/w

Ids of Data Centers for this Storage Domain

master

bool

r/w

Indicates whether the storage domain is a master on not

used

int

r/w

Space used in the storage domain in bytes

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GoVirt.Resource

r

Class Details

class GoVirt.StorageDomain(**kwargs)
Bases:

GoVirt.Resource

Abstract:

No

Structure:

GoVirt.StorageDomainClass

classmethod new()
Return type:

GoVirt.StorageDomain

get_disks()
Returns:

a GoVirt.Collection representing the list of disks associated with self.

Return type:

GoVirt.Collection

Gets a GoVirt.Collection representing the list of remote disks from a storage domain object. This method does not initiate any network activity, the remote file list must be then be fetched using GoVirt.Collection.fetch() or GoVirt.Collection.fetch_async().

get_files()
Returns:

a GoVirt.Collection representing the list of files associated with self.

Return type:

GoVirt.Collection

Gets a GoVirt.Collection representing the list of remote files from a storage domain object. This method does not initiate any network activity, the remote file list must be then be fetched using GoVirt.Collection.fetch() or GoVirt.Collection.fetch_async().

Property Details

GoVirt.StorageDomain.props.available
Name:

available

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Space available in the storage domain in bytes

GoVirt.StorageDomain.props.committed
Name:

committed

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Space committed in the storage domain in bytes

GoVirt.StorageDomain.props.data_center_href
Name:

data-center-href

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Data Center href for the Storage Domain

GoVirt.StorageDomain.props.data_center_id
Name:

data-center-id

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Data Center Id for the Storage Domain

GoVirt.StorageDomain.props.data_center_ids
Name:

data-center-ids

Type:

[str]

Default Value:

[]

Flags:

READABLE, WRITABLE

Ids of Data Centers for this Storage Domain

GoVirt.StorageDomain.props.master
Name:

master

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Indicates whether the storage domain is a master on not

GoVirt.StorageDomain.props.used
Name:

used

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Space used in the storage domain in bytes