ImageTemplatePropertiesValidateArgs

data class ImageTemplatePropertiesValidateArgs(val continueDistributeOnFailure: Output<Boolean>? = null, val inVMValidations: Output<List<Any>>? = null, val sourceValidationOnly: Output<Boolean>? = null) : ConvertibleToJava<ImageTemplatePropertiesValidateArgs>

Configuration options and list of validations to be performed on the resulting image.

Constructors

Link copied to clipboard
constructor(continueDistributeOnFailure: Output<Boolean>? = null, inVMValidations: Output<List<Any>>? = null, sourceValidationOnly: Output<Boolean>? = null)

Properties

Link copied to clipboard

If validation fails and this field is set to false, output image(s) will not be distributed. This is the default behavior. If validation fails and this field is set to true, output image(s) will still be distributed. Please use this option with caution as it may result in bad images being distributed for use. In either case (true or false), the end to end image run will be reported as having failed in case of a validation failure. Note: This field has no effect if validation succeeds.

Link copied to clipboard
val inVMValidations: Output<List<Any>>? = null

List of validations to be performed.

Link copied to clipboard
val sourceValidationOnly: Output<Boolean>? = null

If this field is set to true, the image specified in the 'source' section will directly be validated. No separate build will be run to generate and then validate a customized image.

Functions

Link copied to clipboard
open override fun toJava(): ImageTemplatePropertiesValidateArgs