Skip to content

Use minValue and maxValue with correct type#

Operational Excellence · All resources · Azure.Template.ParameterMinMaxValue

Template parameters minValue and maxValue constraints must be valid.

Description#

When defining Azure template parameters the minValue or maxValue constraints can be added to parameters. These constraints are only valid for parameters using the int type. When configuring minValue and maxValue an integer must be used.

Recommendation#

Consider updating parameter definitions using minValue or maxValue. When using minValue or maxValue these values must be integers and only apply to int parameters.


Last update: 2021-09-24