ImageTemplatePropertiesValidate 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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ImageTemplatePropertiesValidateTypeConverter))]
public class ImageTemplatePropertiesValidate : Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesValidate
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ImageTemplatePropertiesValidateTypeConverter))>]
type ImageTemplatePropertiesValidate = class
interface IImageTemplatePropertiesValidate
interface IJsonSerializable
Public Class ImageTemplatePropertiesValidate
Implements IImageTemplatePropertiesValidate
- Inheritance
-
ImageTemplatePropertiesValidate
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| ImageTemplatePropertiesValidate() |
Creates an new ImageTemplatePropertiesValidate instance. |
Properties
| Name | Description |
|---|---|
| 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.] |
| InVMValidation |
List of validations to be performed. |
| 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. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ImageTemplatePropertiesValidate. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ImageTemplatePropertiesValidate. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesValidate. |
| FromJsonString(String) |
Creates a new instance of ImageTemplatePropertiesValidate, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of ImageTemplatePropertiesValidate into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |