ImageTemplatePropertiesValidate interface
Configuration options and list of validations to be performed on the resulting image.
Properties
continue |
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.] |
in |
List of validations to be performed. |
source |
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. |
Property Details
continueDistributeOnFailure
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.]
continueDistributeOnFailure?: boolean
Property Value
boolean
inVMValidations
List of validations to be performed.
inVMValidations?: ImageTemplateInVMValidatorUnion[]
Property Value
sourceValidationOnly
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.
sourceValidationOnly?: boolean
Property Value
boolean