Bases: _abcoll.Mapping
Convert a template snippet that defines parameters into a properties schema
Parameters: | params_snippet – parameter definition from a template |
---|---|
Returns: | an equivalent properties schema for the specified params |
Generates properties with params resolved for a resource’s properties_schema.
Parameters: | schema – A resource type’s properties_schema |
---|---|
Returns: | A tuple of params and properties dicts |
Bases: object
Get value from raw value and sanitize according to data type.
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.
Return a Property Schema object from a legacy schema dictionary.
Return a Property Schema corresponding to a Parameter Schema.
Convert a parameter schema from a provider template to a property Schema for the corresponding resource facade.
Return dictionary of Schema objects for given dictionary of schemata.
The input schemata are converted from the legacy (dictionary-based) format to Schema objects where necessary.