openstack.cluster.v1.event

openstack.cluster.v1.event

The Event Class

The Event class inherits from Resource.

class openstack.cluster.v1.event.Event(attrs=None, loaded=False)

Construct a Resource to interact with a service’s REST API.

The Resource class offers two class methods to construct resource objects, which are preferrable to entering through this initializer. See Resource.new() and Resource.existing().

Parameters:
  • attrs (dict) – The attributes to set when constructing this Resource.
  • loaded (bool) – True if this Resource exists on the server, False if it does not.
generated_at = None

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

obj_id = None

The UUID of the object related to this event.

obj_name = None

The name of the object related to this event.

obj_type = None

The type name of the object related to this event.

cluster_id = None

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

level = None

The event level (priority).

user_id = None

The ID of the user.

project_id = None

The ID of the project (tenant).

action = None

The string representation of the action associated with the event.

status = None

The status of the associated object.

status_reason = None

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

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.