DataSource#

class DataSource(reference=None, *args, **kwargs)#

Bases: object

A reference to a disk or image that contains the contents of a disk.

Parameters:

reference – (reference) A reference to a disk or image that contains the contents of a disk.

property reference#

A reference to a disk or image that contains the contents of a disk.

Type:

ImageReference | VmDiskReference

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model