Bases: _abcoll.Mapping
Create properties schema from the parameters section of a template.
Parameters: | params_snippet – parameter definition from a template |
---|---|
Returns: | equivalent properties schemata for the specified parameters |
Convert a schema to template parameters and properties.
This can be used to generate a provider template that matches the given properties schemata.
Parameters: | schema – A resource type’s properties_schema |
---|---|
Returns: | A tuple of params and properties dicts |
Bases: object
Bases: heat.engine.constraints.Schema
Schema class for validating resource properties.
This class is used for defining schema constraints for resource properties. It inherits generic validation features from the base Schema class and add processing that is specific to resource properties.
Return allowed type of Property Schema converted from parameter.
Especially, when generating Schema from parameter, Integer Property Schema will be supplied by Number parameter.