CmdID / az / az deployment / az deployment mg
az deployment mg what-if
Execute a deployment What-If operation at management group scope. Azure CLI reference
12 options Its page in the Azure CLI reference
Options
--exclude-change-types, -xSpace-separated list of resource change types to be excluded from What-If results.--location, -lThe location to store the deployment metadata.--management-group-id, -mThe management group id to create deployment at.--name, -nThe deployment name.--no-pretty-printDisable pretty-print for What-If results.--no-promptThe option to disable the prompt of missing parameters for ARM template.--parameters, -pSupply deployment parameter values.--result-format, -rThe format of What-If results.--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.