Event#

class Event(source_entity=None, affected_entities=None, metric_details=None, event_type=None, classifications=None, source_cluster_uuid=None, creation_time=None, message=None, cluster_uuid=None, parameters=None, service_name=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)[source]#

Bases: ExternalizableAbstractModel

Parameters:
  • source_entity – (source_entity)

  • affected_entities – (affected_entities) List of all entities that are affected by the event/audit.

  • metric_details – (metric_details) Details of the metric for a metric-based event.

  • event_type – (event_type) A preconfigured or dynamically generated unique value for each event type.

  • classifications – (classifications) Various categories into which this event type can be classified. For example, Hardware, Storage, License and so on.

  • source_cluster_uuid – (source_cluster_uuid) Cluster UUID associated with the source entity of the event.

  • creation_time – (creation_time) The time in ISO 8601 format when the event was created.

  • message – (message) Additional message associated with the event.

  • cluster_uuid – (cluster_uuid) Cluster UUID associated with the cluster where the event was first raised.

  • parameters – (parameters) Additional parameters associated with the event. These parameters can be used to indicate custom key-value pairs for a given event instance. For example, a service down event in Prism Central can have the service name as a parameter.

  • service_name – (service_name) The service which raised the event/audit. For internal Nutanix services, this value is set to “Nutanix”.

property affected_entities#

List of all entities that are affected by the event/audit.

Type:

list[ EntityReference ]

property classifications#

Various categories into which this event type can be classified. For example, Hardware, Storage, License and so on.

Type:

list[ str ]

property cluster_uuid#

Cluster UUID associated with the cluster where the event was first raised.

Type:

str

property creation_time#

The time in ISO 8601 format when the event was created.

Type:

datetime

property event_type#

A preconfigured or dynamically generated unique value for each event type.

Type:

str

property message#

Additional message associated with the event.

Type:

str

property metric_details#

Details of the metric for a metric-based event.

Type:

list[ MetricDetail ]

property parameters#

Additional parameters associated with the event. These parameters can be used to indicate custom key-value pairs for a given event instance. For example, a service down event in Prism Central can have the service name as a parameter.

Type:

list[ Parameter ]

property service_name#

The service which raised the event/audit. For internal Nutanix services, this value is set to “Nutanix”.

Type:

str

property source_cluster_uuid#

Cluster UUID associated with the source entity of the event.

Type:

str

property source_entity#
Type:

EntityReference

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model