openstack.cluster.v1.action¶
The Action Class¶
The Action class inherits from Resource.
-
class
openstack.cluster.v1.action.Action(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()andResource.existing().Parameters: - attrs (dict) – The attributes to set when constructing this Resource.
- loaded (bool) –
Trueif this Resource exists on the server,Falseif it does not.
-
name= None¶ Name of the action.
-
target_id= None¶ ID of the target object, which can be a cluster or a node.
-
action= None¶ Built-in type name of action.
-
cause= None¶ A string representation of the reason why the action was created.
-
owner_id= None¶ The owning engine that is currently running the action.
-
interval= None¶ Interval in seconds between two consecutive executions.
-
start_time= None¶ The time the action was started.
-
end_time= None¶ The time the action completed execution.
-
timeout= None¶ The timeout in seconds.
-
status= None¶ Current status of the action.
-
status_reason= None¶ A string describing the reason that brought the action to its current
-
inputs= None¶ A dictionary containing the inputs to the action.
-
outputs= None¶ A dictionary containing the outputs to the action.
-
depends_on= None¶ A list of actions that must finish before this action starts execution.
-
depended_by= None¶ A list of actions that can start only after this action has finished.
-
created_at= None¶ Timestamp when the action is created.
-
updated_at= None¶ Timestamp when the action was last updated.