watcherclient.v1.data_model module¶
- 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¶