CmdID / az / az deployment / az deployment sub
az deployment sub what-if
Execute a deployment What-If operation at subscription scope. Azure CLI reference
11 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 What-If operation metadata.--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.