openstack.clustering.v1.action¶
The Action Class¶
The Action class inherits from Resource.
-
class
openstack.clustering.v1.action.Action(_synchronized=False, connection=None, **attrs)¶ The base resource
- Parameters
_synchronized (bool) – This is not intended to be used directly. See
new()andexisting().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._connectionin Resource code should protect itself with a check for None.
-
name¶ Name of the action.
-
target_id¶ ID of the target object, which can be a cluster or a node.
-
action¶ Built-in type name of action.
-
cause¶ A string representation of the reason why the action was created.
-
owner_id¶ The owning engine that is currently running the action.
-
user_id¶ The ID of the user who created this action.
-
project_id¶ The ID of the project this profile belongs to.
-
domain_id¶ The domain ID of the action.
-
interval¶ Interval in seconds between two consecutive executions.
-
start_at¶ The time the action was started.
-
end_at¶ The time the action completed execution.
-
timeout¶ The timeout in seconds.
-
status¶ Current status of the action.
-
inputs¶ A dictionary containing the inputs to the action.
-
outputs¶ A dictionary containing the outputs to the action.
-
depends_on¶ A list of actions that must finish before this action starts execution.
-
depended_by¶ A list of actions that can start only after this action has finished.
-
created_at¶ Timestamp when the action is created.
-
updated_at¶ Timestamp when the action was last updated.
-
cluster_id¶ The ID of cluster which this action runs on.