ImageTemplateValidationConfig 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.
Configuration options and list of validations to be performed on the resulting image.
public class ImageTemplateValidationConfig : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ImageBuilder.Models.ImageTemplateValidationConfig>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ImageBuilder.Models.ImageTemplateValidationConfig>
type ImageTemplateValidationConfig = class
interface IJsonModel<ImageTemplateValidationConfig>
interface IPersistableModel<ImageTemplateValidationConfig>
Public Class ImageTemplateValidationConfig
Implements IJsonModel(Of ImageTemplateValidationConfig), IPersistableModel(Of ImageTemplateValidationConfig)
- Inheritance
-
ImageTemplateValidationConfig
- Implements
Constructors
| Name | Description |
|---|---|
| ImageTemplateValidationConfig() |
Initializes a new instance of ImageTemplateValidationConfig. |
Properties
| Name | Description |
|---|---|
| InVMValidations |
List of validations to be performed. |
| IsSourceValidationOnly |
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. |
| ShouldContinueDistributeOnFailure |
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.]. |