FileUploadRangeOptions interface
Options to configure the uploadRange operation.
- Extends
Properties
abort |
An implementation of the |
contentMD5 | An MD5 hash of the content. This hash is used to verify the integrity of the data during transport. When the Content-MD5 header is specified, the File service compares the hash of the content that has arrived with the header value that was sent. If the two hashes do not match, the operation will fail with error code 400 (Bad Request). |
file |
The last write time for the file. A value of Preserve may be passed to keep an existing value unchanged. A value of Now may be used to indicate the time of the request. By default, the value will be set as Now. |
lease |
Lease access conditions. |
on |
Progress updating event handler. |
Inherited Properties
tracing |
Property Details
abortSignal
An implementation of the AbortSignalLike
interface to signal the request to cancel the operation.
For example, use the @azure/abort-controller to create an AbortSignal
.
abortSignal?: AbortSignalLike
Property Value
contentMD5
An MD5 hash of the content. This hash is used to verify the integrity of the data during transport. When the Content-MD5 header is specified, the File service compares the hash of the content that has arrived with the header value that was sent. If the two hashes do not match, the operation will fail with error code 400 (Bad Request).
contentMD5?: Uint8Array
Property Value
Uint8Array
fileLastWrittenMode
The last write time for the file. A value of Preserve may be passed to keep an existing value unchanged. A value of Now may be used to indicate the time of the request. By default, the value will be set as Now.
fileLastWrittenMode?: FileLastWrittenMode
Property Value
leaseAccessConditions
Lease access conditions.
leaseAccessConditions?: LeaseAccessConditions
Property Value
onProgress
Progress updating event handler.
onProgress?: (progress: TransferProgressEvent) => void
Property Value
(progress: TransferProgressEvent) => void