ImageTemplateShellValidator 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.
Runs the specified shell script during the validation phase (Linux). Corresponds to Packer shell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified.
public class ImageTemplateShellValidator : Azure.ResourceManager.ImageBuilder.Models.ImageTemplateInVMValidator, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ImageBuilder.Models.ImageTemplateShellValidator>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ImageBuilder.Models.ImageTemplateShellValidator>
type ImageTemplateShellValidator = class
inherit ImageTemplateInVMValidator
interface IJsonModel<ImageTemplateShellValidator>
interface IPersistableModel<ImageTemplateShellValidator>
Public Class ImageTemplateShellValidator
Inherits ImageTemplateInVMValidator
Implements IJsonModel(Of ImageTemplateShellValidator), IPersistableModel(Of ImageTemplateShellValidator)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ImageTemplateShellValidator() |
Initializes a new instance of ImageTemplateShellValidator. |
Properties
| Name | Description |
|---|---|
| Inline |
Array of shell commands to execute. |
| Name |
Friendly Name to provide context on what this validation step does. (Inherited from ImageTemplateInVMValidator) |
| 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. |