The heat.engine.stack_resource ModuleΒΆ

class heat.engine.stack_resource.StackResource(name, json_snippet, stack)[source]

Bases: heat.engine.resource.Resource

An abstract Resource subclass that allows the management of an entire Stack as a resource in a parent stack.

StackResource.check_create_complete(stack_creator)[source]
StackResource.check_delete_complete(delete_task)[source]
StackResource.check_resume_complete(resume_task)[source]
StackResource.check_suspend_complete(suspend_task)[source]
StackResource.check_update_complete(updater)[source]
StackResource.create_with_template(child_template, user_params, timeout_mins=None)[source]

Handle the creation of the nested stack from a given JSON template.

StackResource.delete_nested()[source]

Delete the nested stack.

StackResource.get_output(op)[source]

Return the specified Output value from the nested stack.

If the output key does not exist, raise an InvalidTemplateAttribute exception.

StackResource.handle_resume()[source]
StackResource.handle_suspend()[source]
StackResource.nested()[source]

Return a Stack object representing the nested (child) stack.

StackResource.requires_deferred_auth = True
StackResource.update_with_template(child_template, user_params, timeout_mins=None)[source]

Update the nested stack with the new template.

Previous topic

The heat.engine.resource Module

Next topic

The heat.engine.hot Module

This Page