Share via


FileCreateHeaders interface

Defines headers for File_create operation.

Properties

date

A UTC date/time value generated by the service that indicates the time at which the response was initiated.

errorCode

Error Code

etag

The ETag contains a value which represents the version of the file, in quotes.

fileAttributes

Attributes set for the file.

fileChangeOn

Change time for the file.

fileCreatedOn

Creation time for the file.

fileId

The fileId of the file.

fileLastWriteOn

Last write time for the file.

fileParentId

The parent fileId of the file.

filePermissionKey

Key of the permission set for the file.

isServerEncrypted

The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise.

lastModified

Returns the date and time the share was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory.

requestId

This header uniquely identifies the request that was made and can be used for troubleshooting the request.

version

Indicates the version of the File service used to execute the request.

Property Details

date

A UTC date/time value generated by the service that indicates the time at which the response was initiated.

date?: Date

Property Value

Date

errorCode

Error Code

errorCode?: string

Property Value

string

etag

The ETag contains a value which represents the version of the file, in quotes.

etag?: string

Property Value

string

fileAttributes

Attributes set for the file.

fileAttributes?: string

Property Value

string

fileChangeOn

Change time for the file.

fileChangeOn?: Date

Property Value

Date

fileCreatedOn

Creation time for the file.

fileCreatedOn?: Date

Property Value

Date

fileId

The fileId of the file.

fileId?: string

Property Value

string

fileLastWriteOn

Last write time for the file.

fileLastWriteOn?: Date

Property Value

Date

fileParentId

The parent fileId of the file.

fileParentId?: string

Property Value

string

filePermissionKey

Key of the permission set for the file.

filePermissionKey?: string

Property Value

string

isServerEncrypted

The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise.

isServerEncrypted?: boolean

Property Value

boolean

lastModified

Returns the date and time the share was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory.

lastModified?: Date

Property Value

Date

requestId

This header uniquely identifies the request that was made and can be used for troubleshooting the request.

requestId?: string

Property Value

string

version

Indicates the version of the File service used to execute the request.

version?: string

Property Value

string