ImageTemplateErrorHandling Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Error handling options upon a build failure.
public class ImageTemplateErrorHandling : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ImageBuilder.Models.ImageTemplateErrorHandling>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ImageBuilder.Models.ImageTemplateErrorHandling>
type ImageTemplateErrorHandling = class
interface IJsonModel<ImageTemplateErrorHandling>
interface IPersistableModel<ImageTemplateErrorHandling>
Public Class ImageTemplateErrorHandling
Implements IJsonModel(Of ImageTemplateErrorHandling), IPersistableModel(Of ImageTemplateErrorHandling)
- Inheritance
-
ImageTemplateErrorHandling
- Implements
Constructors
| Name | Description |
|---|---|
| ImageTemplateErrorHandling() |
Initializes a new instance of ImageTemplateErrorHandling. |
Properties
| Name | Description |
|---|---|
| OnCustomizerError |
If there is a customizer error and this field is set to 'cleanup', the build VM and associated network resources will be cleaned up. This is the default behavior. If there is a customizer error and this field is set to 'abort', the build VM will be preserved. |
| OnValidationError |
If there is a validation error and this field is set to 'cleanup', the build VM and associated network resources will be cleaned up. This is the default behavior. If there is a validation error and this field is set to 'abort', the build VM will be preserved. |