heatclient.v1.stacks.Stack(manager, info, loaded=False)Bases: heatclient.common.base.Resource
abandon()actioncreate(**fields)delete()environment()files()get()Support for lazy loading details.
Some clients, such as novaclient have the option to lazy load the details, details which can be loaded with this function.
identifieroutput_list()output_show(output_key)preview(**fields)restore(snapshot_id)snapshot(name=None)snapshot_delete(snapshot_id)snapshot_list()snapshot_show(snapshot_id)statusupdate(**fields)heatclient.v1.stacks.StackChildManager(client)Bases: heatclient.common.base.BaseManager
apiheatclient.v1.stacks.StackManager(client)Bases: heatclient.v1.stacks.StackChildManager
abandon(stack_id)Abandon a stack.
create(**kwargs)Create a stack.
delete(stack_id)Delete a stack.
environment(stack_id)Returns the environment for an existing stack.
| Parameters: | stack_id – identifies the stack |
|---|---|
| Returns: |
export(stack_id)Export data of a stack.
files(stack_id)Returns the files for an existing stack.
| Parameters: | stack_id – identifies the stack |
|---|---|
| Returns: |
get(stack_id, resolve_outputs=True)Get the metadata for a specific stack.
| Parameters: |
|
|---|
list(**kwargs)Get a list of stacks.
| Parameters: |
|
|---|---|
| Return type: | list of |
output_list(stack_id)output_show(stack_id, output_key)preview(**kwargs)Preview a stack.
preview_update(stack_id, **kwargs)Preview a stack update.
resource_classalias of Stack
restore(stack_id, snapshot_id)snapshot(stack_id, name=None)Snapshot a stack.
snapshot_delete(stack_id, snapshot_id)snapshot_list(stack_id)snapshot_show(stack_id, snapshot_id)template(stack_id)Get template content for a specific stack as a parsed JSON object.
| Parameters: | stack_id – Stack ID to get the template for |
|---|
update(stack_id, **kwargs)Update a stack.
validate(**kwargs)Validate a stack template.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.