ImageTemplateFileValidatorArgs

data class ImageTemplateFileValidatorArgs(val destination: Output<String>? = null, val name: Output<String>? = null, val sha256Checksum: Output<String>? = null, val sourceUri: Output<String>? = null, val type: Output<String>) : ConvertibleToJava<ImageTemplateFileValidatorArgs>

Uploads files required for validation to VMs (Linux, Windows). Corresponds to Packer file provisioner

Constructors

Link copied to clipboard
constructor(destination: Output<String>? = null, name: Output<String>? = null, sha256Checksum: Output<String>? = null, sourceUri: Output<String>? = null, type: Output<String>)

Properties

Link copied to clipboard
val destination: Output<String>? = null

The absolute path to a file (with nested directory structures already created) where the file (from sourceUri) will be uploaded to in the VM

Link copied to clipboard
val name: Output<String>? = null

Friendly Name to provide context on what this validation step does

Link copied to clipboard
val sha256Checksum: Output<String>? = null

SHA256 checksum of the file provided in the sourceUri field above

Link copied to clipboard
val sourceUri: Output<String>? = null

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

Link copied to clipboard
val type: Output<String>

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

Functions

Link copied to clipboard
open override fun toJava(): ImageTemplateFileValidatorArgs