CmdID / az / az stack / az stack mg
az stack mg validate
Validate a deployment stack at management group scope Azure CLI reference
22 options Its page in the Azure CLI reference
Options
--action-on-unmanage, --aouDefines what happens to resources that are no longer managed after the stack is updated or deleted.--bypass-stack-out-of-sync-error, --bseFlag to bypass service errors that indicate the stack resource list is not correctly synchronized.--deny-settings-apply-to-child-scopes, --csDenySettings will be applied to child scopes.--deny-settings-excluded-actions, --eaList of role-based management operations that are excluded from the denySettings.--deny-settings-excluded-principals, --epList of AAD principal IDs excluded from the lock.--deny-settings-mode, --dmDefine which operations are denied on resources managed by the stack.--deployment-subscription, --dsThe scope at which the initial deployment should be created.--descriptionThe description of deployment stack.--idThe--location, -lThe location to store the--management-group-id, -mThe management group ID to create a--name, -nThe name of the--parameters, -pParameters may be supplied from a file using the @{path} syntax, a JSON string, or as <KEY=VALUE> pairs.--query-string, -qThe query string (a SAS token) to be used with the template-uri in the case of linked templates.--resources-without-delete-support, --rwdDefines what happens to resources that do not support deletion when they are no longer managed by the stack.--subscriptionThe subscription id.--tagsspace-separated tags: key[=value] [key[=value] ...].--template-file, -fa path to a template file or Bicep file in the file system--template-spec, -sThe template spec resource id.--template-uri, -ua uri to a remote template file--validation-level, --vlValidation level for the deployment stack.--yesDo not prompt for confirmation.