Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/azure-device-update-for-iot-hub-update-manifest/_shared/4--azure-deviceupdate-manifest-definitions-4.0.json
Parent schema azure-device-update-for-iot-hub-update-manifest
Type: object

Shared schema definitions for 'Import Manifest' and 'Update Manifest'.

Definitions

updateId object

Unique update identifier.

provider string required

Entity who is creating or directly responsible for the update. It can be a company name.

minLength=1maxLength=64pattern=^[a-zA-Z0-9.-]+$
name string required

Identifier for a class of update. It can be a device class or model name.

minLength=1maxLength=64pattern=^[a-zA-Z0-9.-]+$
version string required

Two to four part dot separated numerical version numbers. Each part must be a number between 0 and 2147483647 and leading zeroes will be dropped.

Examples: "1.0", "2021.11.8"
pattern=^\d+(?:\.\d+)+$
compatibility compatibilityInfo[]

List of device property sets this update is compatible with.

compatibilityInfo Record<string, string>

Properties of a device this update is compatible with.

file object

Update payload file, e.g. binary, firmware, script, etc. Must be unique within update.

filename filename required
sizeInBytes number required

File size in number of bytes.

min=1max=2147483648
hashes fileHashes required
filename string

Update payload file name.

fileHashes Record<string, string>

Base64-encoded file hashes with algorithm name as key. At least SHA-256 algorithm must be specified, and additional algorithm may be specified if supported by agent.

sha256 string required

Base64-encoded file hash value using SHA-256 algorithm.

referenceStepType string

Instruction step type that installs another update.

inlineStepType string

Instruction step type that performs code execution.

inlineStepHandler string

Identity of handler on device that can execute this step.

Examples:
  • "microsoft/script:1"
  • "microsoft/swupdate:1"
  • "microsoft/apt:1"
inlineStepHandlerProperties object

JSON object that agent will pass to handler as arguments.