Share via


UpdateFileOutput interface

Update file metadata.

Extends

Properties

downloadHandler

Optional download handler for utilizing related files to download payload file.

etag

File ETag.

fileId

File identity, generated by server at import time.

relatedFiles

Optional related files metadata used together DownloadHandler metadata to download payload file.

Inherited Properties

fileName

File name.

hashes

Mapping of hashing algorithm to base64 encoded hash values.

mimeType

File MIME type.

properties

Optional file properties (not consumed by service but pass-through to device).

scanDetails

Anti-malware scan details.

scanResult

Anti-malware scan result.

sizeInBytes

File size in number of bytes.

Property Details

downloadHandler

Optional download handler for utilizing related files to download payload file.

downloadHandler?: UpdateFileDownloadHandlerOutput

Property Value

etag

File ETag.

etag?: string

Property Value

string

fileId

File identity, generated by server at import time.

fileId: string

Property Value

string

relatedFiles

Optional related files metadata used together DownloadHandler metadata to download payload file.

relatedFiles?: UpdateFileBaseOutput[]

Property Value

Inherited Property Details

fileName

File name.

fileName: string

Property Value

string

Inherited From UpdateFileBaseOutput.fileName

hashes

Mapping of hashing algorithm to base64 encoded hash values.

hashes: Record<string, string>

Property Value

Record<string, string>

Inherited From UpdateFileBaseOutput.hashes

mimeType

File MIME type.

mimeType?: string

Property Value

string

Inherited From UpdateFileBaseOutput.mimeType

properties

Optional file properties (not consumed by service but pass-through to device).

properties?: Record<string, string>

Property Value

Record<string, string>

Inherited From UpdateFileBaseOutput.properties

scanDetails

Anti-malware scan details.

scanDetails?: string

Property Value

string

Inherited From UpdateFileBaseOutput.scanDetails

scanResult

Anti-malware scan result.

scanResult?: string

Property Value

string

Inherited From UpdateFileBaseOutput.scanResult

sizeInBytes

File size in number of bytes.

sizeInBytes: number

Property Value

number

Inherited From UpdateFileBaseOutput.sizeInBytes