IFileCreateOptions interface
- Extends
Properties
creation |
The Coordinated Universal Time (UTC) creation time property for the directory. A value of now may be used to indicate the time of the request. By default, the value will be set as now. |
file |
The file system attributes to be set on the file or directory. |
file |
File HTTP headers like Content-Type. |
file |
The permission(security descriptor) to be set for the file or directory in the Security Descriptor Definition Language (SDDL). If specified, it must have an owner, group, and discretionary access control list (DACL). A value of inherit may be passed to inherit from the parent directory. Note that only one of filePermission or filePermissionKey can be specified. And if both are not specified, inherit will be set to filePermission as default value by client library. |
file |
The key of the permission to be set for the file or directory. This can be created using the Create-Permission API. Note that only one of filePermission or filePermissionKey can be specified. |
last |
The Coordinated Universal Time (UTC) last write property for the directory. A value of now may be used to indicate the time of the request. By default, the value will be set as now. |
metadata | A name-value pair to associate with a file storage object. |
Property Details
creationTime
The Coordinated Universal Time (UTC) creation time property for the directory. A value of now may be used to indicate the time of the request. By default, the value will be set as now.
creationTime?: Date | TimeNowType
Property Value
Date | TimeNowType
fileAttributes
The file system attributes to be set on the file or directory.
fileAttributes?: FileSystemAttributes
Property Value
fileHTTPHeaders
File HTTP headers like Content-Type.
fileHTTPHeaders?: IFileHTTPHeaders
Property Value
filePermission
The permission(security descriptor) to be set for the file or directory in the Security Descriptor Definition Language (SDDL). If specified, it must have an owner, group, and discretionary access control list (DACL). A value of inherit may be passed to inherit from the parent directory. Note that only one of filePermission or filePermissionKey can be specified. And if both are not specified, inherit will be set to filePermission as default value by client library.
filePermission?: string | FilePermissionInheritType
Property Value
string | FilePermissionInheritType
filePermissionKey
The key of the permission to be set for the file or directory. This can be created using the Create-Permission API. Note that only one of filePermission or filePermissionKey can be specified.
filePermissionKey?: undefined | string
Property Value
undefined | string
lastWriteTime
The Coordinated Universal Time (UTC) last write property for the directory. A value of now may be used to indicate the time of the request. By default, the value will be set as now.
lastWriteTime?: Date | TimeNowType
Property Value
Date | TimeNowType
metadata
A name-value pair to associate with a file storage object.
metadata?: IMetadata
Property Value
Azure SDK for JavaScript
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for