UpdateFileOutput interface
Update file metadata.
- Extends
Properties
| download |
Optional download handler for utilizing related files to download payload file. |
| etag | File ETag. |
| file |
File identity, generated by server at import time. |
| related |
Optional related files metadata used together DownloadHandler metadata to download payload file. |
Inherited Properties
| file |
File name. |
| hashes | Mapping of hashing algorithm to base64 encoded hash values. |
| mime |
File MIME type. |
| properties | Optional file properties (not consumed by service but pass-through to device). |
| scan |
Anti-malware scan details. |
| scan |
Anti-malware scan result. |
| size |
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
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