watcherclient.v1.data_model module

class watcherclient.v1.data_model.DataModel(manager, info, loaded=False)[source]

Bases: Resource

class watcherclient.v1.data_model.DataModelManager(api)[source]

Bases: Manager

list(data_model_type='compute', audit=None)[source]

Retrieve a list of data model.

Parameters:
  • data_model_type – The type of data model user wants to list. Supported values: compute. Future support values: storage, baremetal. The default value is compute.

  • audit – The UUID of the audit, used to filter data model by the scope in audit.

Returns:

A list of data model.

resource_class

alias of DataModel