For details on how to use block_store, see Using OpenStack Block Store
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)¶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 |
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. |
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. |
delete_workflow
(value, ignore_missing=True)¶Delete a workflow
Parameters: |
|
---|---|
Returns: |
|
find_workflow
(name_or_id, ignore_missing=True)¶Find a single workflow
Parameters: |
|
---|---|
Returns: | One |
create_execution
(**attrs)¶Create a new execution from attributes
Parameters: |
|
---|---|
Returns: | The results of execution creation |
Return type: |
|
get_execution
(*attrs)¶Get a execution
Parameters: |
|
---|---|
Returns: | One |
Raises: |
|
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. |
delete_execution
(value, ignore_missing=True)¶Delete an execution
Parameters: |
|
---|---|
Returns: |
|
find_execution
(name_or_id, ignore_missing=True)¶Find a single execution
Parameters: |
|
---|---|
Returns: | One |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.