Entity#

class Entity(entity_type=None, source=None, parents=None, metrics=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: ExternalizableAbstractModel

Parameters:
  • entity_type – (entity_type) Entity type of the data supported for a given source. For example VM, cluster etc.

  • source – (source) Source name for the vendors. For example ‘Nutanix’.

  • parents – (parents) Parent entity types for the given entity.

  • metrics – (metrics) Metrics data for the entity.

property entity_type#

Entity type of the data supported for a given source. For example VM, cluster etc.

Type:

str

property metrics#

Metrics data for the entity.

Type:

list[ Metric ]

property parents#

Parent entity types for the given entity.

Type:

list[ Entity ]

property source#

Source name for the vendors. For example ‘Nutanix’.

Type:

str

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model