heat.api.openstack.v1.actions module

heat.api.openstack.v1.actions module

class heat.api.openstack.v1.actions.ActionController(options)[source]

Bases: object

WSGI controller for Actions in Heat v1 API.

Implements the API for stack actions

ACTIONS = ('suspend', 'resume', 'check', 'cancel_update', 'cancel_without_rollback')
CANCEL_UPDATE = 'cancel_update'
CANCEL_WITHOUT_ROLLBACK = 'cancel_without_rollback'
CHECK = 'check'
REQUEST_SCOPE = 'actions'
RESUME = 'resume'
SUSPEND = 'suspend'
action(req, tenant_id, **kwargs)[source]

Performs a specified action on a stack.

The body is expecting to contain exactly one item whose key specifies the action.

heat.api.openstack.v1.actions.create_resource(options)[source]

Actions action factory method.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.