Condividi tramite


IImageTemplateShellValidator Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ImageTemplateShellValidatorTypeConverter))]
public interface IImageTemplateShellValidator : Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInVMValidator
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ImageTemplateShellValidatorTypeConverter))>]
type IImageTemplateShellValidator = interface
    interface IJsonSerializable
    interface IImageTemplateInVMValidator
Public Interface IImageTemplateShellValidator
Implements IImageTemplateInVMValidator
Derived
Attributes
Implements

Properties

Name Description
Inline

Array of shell commands to execute

Name

Friendly Name to provide context on what this validation step does

(Inherited from IImageTemplateInVMValidator)
ScriptUri

URI of the shell script to be run for validation. It can be a github link, Azure Storage URI, etc

Sha256Checksum

SHA256 checksum of the shell script provided in the scriptUri field

Type

The type of validation you want to use on the Image. For example, "Shell" can be shell validation

(Inherited from IImageTemplateInVMValidator)

Methods

Name Description
ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to