ArmImageBuilderModelFactory.ImageTemplateInVMValidator(String, String) Method
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.
Describes a unit of in-VM validation of image Please note this is the abstract base class. The derived classes available for instantiation are: ImageTemplateFileValidator, ImageTemplatePowerShellValidator, and ImageTemplateShellValidator.
public static Azure.ResourceManager.ImageBuilder.Models.ImageTemplateInVMValidator ImageTemplateInVMValidator(string type = default, string name = default);
static member ImageTemplateInVMValidator : string * string -> Azure.ResourceManager.ImageBuilder.Models.ImageTemplateInVMValidator
Public Shared Function ImageTemplateInVMValidator (Optional type As String = Nothing, Optional name As String = Nothing) As ImageTemplateInVMValidator
Parameters
- type
- String
The type of validation you want to use on the Image. For example, "Shell" can be shell validation.
- name
- String
Friendly Name to provide context on what this validation step does.
Returns
A new ImageTemplateInVMValidator instance for mocking.