The watcherclient.v1.data_model Module

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

Bases: watcherclient.common.base.Resource

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

Bases: watcherclient.common.base.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