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()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._connectionin Resource code should protect itself with a check for None.
 
 - resource_key = 'action'¶
- Singular form of key for resource. 
 - resources_key = 'actions'¶
- Plural form of key for resource. 
 - base_path = '/actions'¶
- The base part of the URI for this resource. 
 - allow_list = True¶
- Allow list operation for this resource. 
 - allow_fetch = True¶
- Allow get operation for this resource. 
 - allow_commit = True¶
- Allow update operation for this resource. 
 - commit_method = 'PATCH'¶
- Method for committing a resource (PUT, PATCH, POST) 
 - 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. 
 
