CmdID

CmdID / az / az image / az image builder / az image builder error-handler

az image builder error-handler add

Add error handler to an existing image builder template. Azure CLI reference

2 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

2 in the Azure CLI reference
--on-customizer-errorIf there is a customizer error and this field is set to "cleanup", the build VM and associated network resources will be cleaned up.
--on-validation-errorIf there is a validation error and this field is set to "cleanup", the build VM and associated network resources will be cleaned up.