Bases: _abcoll.Mapping
A stack template.
Add a resource to the template.
The resource is passed as a ResourceDefinition object. If no name is specified, the name from the ResourceDefinition should be used.
Create an empty template.
Creates a new empty template with given version. If version is not provided, a new empty HOT template of version “2015-04-30” is returned.
Parameters: | version – A tuple containing version header of the |
---|
template: version key and value. E.g. (“heat_template_version”, “2015-04-30”) :returns: A new empty template.
Retrieve a Template with the given ID from the database.
Return a dict of parameters.Schema objects for the parameters.
Return a parameters.Parameters object for the stack.
Validate the template.
Validates the top-level sections of the template as well as syntax inside select sections. Some sections are not checked here but in code parts that are responsible for working with the respective sections (e.g. parameters are check by parameters schema class).