CmdID / az / az deployment / az deployment group
az deployment group what-if
Execute a deployment What-If operation at resource group scope. Azure CLI reference
13 options Its page in the Azure CLI reference
Options
--aux-tenantsAuxiliary tenants which will be used during deployment across tenants.--exclude-change-types, -xSpace-separated list of resource change types to be excluded from What-If results.--modeThe deployment mode.--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.--resource-group, -gThe resource group to execute deployment What-If operation at.--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.