openstack.clustering.v1.event

The Event Class

The Event class inherits from Resource.

class openstack.clustering.v1.event.Event(_synchronized=False, connection=None, **attrs)

The base resource

Parameters
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

generated_at

Timestamp string (in ISO8601 format) when the event was generated.

obj_id

The UUID of the object related to this event.

obj_name

The name of the object related to this event.

obj_type

The type name of the object related to this event.

cluster_id

The UUID of the cluster related to this event, if any.

level

The event level (priority).

user_id

The ID of the user.

project_id

The ID of the project (tenant).

action

The string representation of the action associated with the event.

status

The status of the associated object.

status_reason

A string description of the reason that brought the object into its current status.

meta_data

The metadata of an event object.