ImageTemplateFileCustomizer interface

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

Extends

Properties

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

sha256Checksum

SHA256 checksum of the file provided in the sourceUri field above

sourceUri

The URI of the file to be uploaded for customizing the VM. It can be a github link, SAS URI for Azure Storage, etc

type

Polymorphic discriminator, which specifies the different types this object can be

Inherited Properties

name

Friendly Name to provide context on what this customization step does

Property Details

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

destination?: string

Property Value

string

sha256Checksum

SHA256 checksum of the file provided in the sourceUri field above

sha256Checksum?: string

Property Value

string

sourceUri

The URI of the file to be uploaded for customizing the VM. It can be a github link, SAS URI for Azure Storage, etc

sourceUri?: string

Property Value

string

type

Polymorphic discriminator, which specifies the different types this object can be

type: "File"

Property Value

"File"

Inherited Property Details

name

Friendly Name to provide context on what this customization step does

name?: string

Property Value

string

Inherited From ImageTemplateCustomizer.name