Stack endpoint for Heat CloudFormation v1 API.
heat.api.cfn.v1.stacks.
StackController
(options)[source]¶Bases: object
WSGI controller for stacks resource in Heat CloudFormation v1 API.
Implements the API actions.
CREATE_OR_UPDATE_ACTION
= ('CreateStack', 'UpdateStack')¶CREATE_STACK
= 'CreateStack'¶UPDATE_STACK
= 'UpdateStack'¶create_or_update
(req, action=None)[source]¶Implements CreateStack and UpdateStack API actions.
Create or update stack as defined in template file.
describe
(req)[source]¶Implements DescribeStacks API action.
Gets detailed information for a stack (or all stacks).
describe_stack_resource
(req)[source]¶Implements the DescribeStackResource API action.
Return the details of the given resource belonging to the given stack.
describe_stack_resources
(req)[source]¶Implements the DescribeStackResources API action.
Return details of resources specified by the parameters.
StackName: returns all resources belonging to the stack.
PhysicalResourceId: returns all resources belonging to the stack this resource is associated with.
Only one of the parameters may be specified.
Optional parameter:
LogicalResourceId: filter the resources list by the logical resource id.
estimate_template_cost
(req)[source]¶Implements the EstimateTemplateCost API action.
Get the estimated monthly cost of a template.
events_list
(req)[source]¶Implements the DescribeStackEvents API action.
Returns events related to a specified stack (or all stacks).
get_template
(req)[source]¶Implements the GetTemplate API action.
Get the template body for an existing stack.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.