Image Template Properties Error Handling Args
data class ImageTemplatePropertiesErrorHandlingArgs(val onCustomizerError: Output<Either<String, OnBuildError>>? = null, val onValidationError: Output<Either<String, OnBuildError>>? = null) : ConvertibleToJava<ImageTemplatePropertiesErrorHandlingArgs>
Error handling options upon a build failure
Constructors
Link copied to clipboard
constructor(onCustomizerError: Output<Either<String, OnBuildError>>? = null, onValidationError: Output<Either<String, OnBuildError>>? = null)
Properties
Link copied to clipboard
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.
Link copied to clipboard
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.