CmdID / az / az deployment
az deployment validate
Validate whether a template is valid at subscription scope. Azure CLI reference
9 options Its page in the Azure CLI reference
Options
--handle-extended-json-format, -jSupport to handle extended template content including multiline and comments in deployment--location, -lThe location to store the deployment metadata.--name, -nThe deployment name.--no-promptThe option to disable the prompt of missing parameters for ARM template.--parameters, -pSupply deployment parameter values.--template-file, -fThe path to the template file or Bicep file.--template-spec, -sThe template spec resource id.--template-uri, -uThe URI to the template file.--validation-levelThe deployment validation level.