ImageTemplateFileValidator 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.
Uploads files required for validation to VMs (Linux, Windows). Corresponds to Packer file provisioner.
public class ImageTemplateFileValidator : Azure.ResourceManager.ImageBuilder.Models.ImageTemplateInVMValidator, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ImageBuilder.Models.ImageTemplateFileValidator>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ImageBuilder.Models.ImageTemplateFileValidator>
type ImageTemplateFileValidator = class
inherit ImageTemplateInVMValidator
interface IJsonModel<ImageTemplateFileValidator>
interface IPersistableModel<ImageTemplateFileValidator>
Public Class ImageTemplateFileValidator
Inherits ImageTemplateInVMValidator
Implements IJsonModel(Of ImageTemplateFileValidator), IPersistableModel(Of ImageTemplateFileValidator)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ImageTemplateFileValidator() |
Initializes a new instance of ImageTemplateFileValidator. |
Properties
| Name | Description |
|---|---|
| Destination |
The absolute path to a file (with nested directory structures already created) where the file (from sourceUri) will be uploaded to in the VM. |
| Name |
Friendly Name to provide context on what this validation step does. (Inherited from ImageTemplateInVMValidator) |
| Sha256Checksum |
SHA256 checksum of the file provided in the sourceUri field above. |
| SourceUri |
The URI of the file to be uploaded to the VM for validation. It can be a github link, Azure Storage URI (authorized or SAS), etc. |