DirectoryCreateOptionalParams interface
Optional Parameters.
- Extends
-
RequestOptionsBase
Properties
abort |
The signal which can be used to abort requests. |
custom |
{object} [customHeaders] User defined custom request headers that will be applied before the request is sent. |
file |
If specified the permission (security descriptor) shall be set for the directory/file. This header can be used if Permission size is <= 8KB, else x-ms-file-permission-key header shall be used. Default value: Inherit. If SDDL is specified as input, it must have owner, group and dacl. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified. |
file |
Key of the permission to be set for the directory/file. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified. |
metadata | A name-value pair to associate with a file storage object. |
on |
Callback which fires upon download progress. |
on |
Callback which fires upon upload progress. |
timeout | The number of milliseconds a request can take before automatically being terminated. |
timeout |
The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations. |
Property Details
abortSignal
The signal which can be used to abort requests.
abortSignal?: AbortSignalLike
Property Value
AbortSignalLike
customHeaders
{object} [customHeaders] User defined custom request headers that will be applied before the request is sent.
customHeaders?: undefined | [key: string]: string
Property Value
undefined | [key: string]: string
filePermission
If specified the permission (security descriptor) shall be set for the directory/file. This header can be used if Permission size is <= 8KB, else x-ms-file-permission-key header shall be used. Default value: Inherit. If SDDL is specified as input, it must have owner, group and dacl. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified.
filePermission?: undefined | string
Property Value
undefined | string
filePermissionKey
Key of the permission to be set for the directory/file. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified.
filePermissionKey?: undefined | string
Property Value
undefined | string
metadata
A name-value pair to associate with a file storage object.
metadata?: undefined | [key: string]: string
Property Value
undefined | [key: string]: string
onDownloadProgress
Callback which fires upon download progress.
onDownloadProgress?: undefined | (progress: TransferProgressEvent) => void
Property Value
undefined | (progress: TransferProgressEvent) => void
onUploadProgress
Callback which fires upon upload progress.
onUploadProgress?: undefined | (progress: TransferProgressEvent) => void
Property Value
undefined | (progress: TransferProgressEvent) => void
timeout
The number of milliseconds a request can take before automatically being terminated.
timeout?: undefined | number
Property Value
undefined | number
timeoutParameter
The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.
timeoutParameter?: undefined | number
Property Value
undefined | number
Azure SDK for JavaScript