Skip to content

Use minValue and maxValue with correct type#

Operational Excellence · All resources · Rule · 2021_03 · Important

Template parameters minValue and maxValue constraints must be valid.


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.


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