DataSource#

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

Bases: object

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

Parameters:

reference – (reference)

property reference#
Type:

ImageReference | VmDiskReference

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model