ImportManifestMetadata interface

Metadata describing the import manifest, a document which describes the files and other metadata about an update version.

Properties

hashes

A JSON object containing the hash(es) of the file. At least SHA256 hash is required. This object can be thought of as a set of key-value pairs where the key is the hash algorithm, and the value is the hash of the file calculated using that algorithm.

sizeInBytes

File size in number of bytes.

url

Azure Blob location from which the import manifest can be downloaded by Device Update for IoT Hub. This is typically a read-only SAS-protected blob URL with an expiration set to at least 4 hours.

Property Details

hashes

A JSON object containing the hash(es) of the file. At least SHA256 hash is required. This object can be thought of as a set of key-value pairs where the key is the hash algorithm, and the value is the hash of the file calculated using that algorithm.

hashes: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

sizeInBytes

File size in number of bytes.

sizeInBytes: number

Property Value

number

url

Azure Blob location from which the import manifest can be downloaded by Device Update for IoT Hub. This is typically a read-only SAS-protected blob URL with an expiration set to at least 4 hours.

url: string

Property Value

string