The workflow high-level interface is available through the workflow
member of a Connection object.
The workflow member will only be added if the service is detected.
openstack.workflow.v2._proxy.Proxy(session=None, task_manager=None, *args, **kwargs)¶create_workflow(**attrs)¶Create a new workflow from attributes
| Parameters: | attrs (dict) – Keyword arguments which will be used to create
a Workflow,
comprised of the properties on the Workflow class. |
|---|---|
| Returns: | The results of workflow creation |
| Return type: | Workflow |
delete_workflow(value, ignore_missing=True)¶Delete a workflow
| Parameters: |
|
|---|---|
| Returns: |
|
get_workflow(*attrs)¶Get a workflow
| Parameters: | workflow – The value can be the name of a workflow or
Workflow instance. |
|---|---|
| Returns: | One Workflow |
| Raises: | ResourceNotFound when no
workflow matching the name could be found. |
find_workflow(name_or_id, ignore_missing=True)¶Find a single workflow
| Parameters: |
|
|---|---|
| Returns: | One |
workflows(**query)¶Retrieve a generator of workflows
| Parameters: | **query (kwargs) – Optional query parameters to be sent to restrict the workflows to be returned. Available parameters include:
|
|---|---|
| Returns: | A generator of workflow instances. |
openstack.workflow.v2._proxy.Proxy(session=None, task_manager=None, *args, **kwargs)create_execution(**attrs)¶Create a new execution from attributes
| Parameters: |
|
|---|---|
| Returns: | The results of execution creation |
| Return type: |
delete_execution(value, ignore_missing=True)¶Delete an execution
| Parameters: |
|
|---|---|
| Returns: |
|
get_execution(*attrs)¶Get a execution
| Parameters: |
|
|---|---|
| Returns: | One |
| Raises: |
|
find_execution(name_or_id, ignore_missing=True)¶Find a single execution
| Parameters: |
|
|---|---|
| Returns: | One |
executions(**query)¶Retrieve a generator of executions
| Parameters: | **query (kwargs) – Optional query parameters to be sent to restrict the executions to be returned. Available parameters include:
|
|---|---|
| Returns: | A generator of execution instances. |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.