共用方式為


FileGetPropertiesHeaders interface

定義File_getProperties作業的標頭。

屬性

cacheControl

如果先前已為檔案設定 Cache-Control 要求標頭,則會在此標頭中傳回 Cache-Control 值。

contentDisposition

傳回為 『x-ms-content-disposition』 標頭指定的值,並指定如何處理回應。

contentEncoding

如果先前已為檔案設定 Content-Encoding 要求標頭,則會在此標頭中傳回 Content-Encoding 值。

contentLanguage

傳回為 Content-Language 要求標頭指定的值。

contentLength

以位元組為單位的檔案大小。 此標頭會傳回與檔案一起儲存的 'x-ms-content-length' 標頭值。

contentMD5

如果檔案已設定 Content-MD5 標頭,則會傳回 Content-MD5 回應標頭,讓用戶端可以檢查訊息內容完整性。

contentType

為檔案指定的內容類型。 默認內容類型為 'application/octet-stream'

copyCompletedOn

上次嘗試複製檔案作業的結束時間,此檔案是目的地檔案。 這個值可以指定完成、中止或失敗複製嘗試的時間。

copyId

上次嘗試複製檔案作業的字元串標識符,其中此檔案是目的地檔案。

copyProgress

包含上次嘗試複製的複製檔案作業中複製的位元組數目,以及來源中的位元組總數,而此檔案是目的地檔案。 可以顯示複製的介於 0 和 Content-Length 位元組之間。

copySource

長度高達 2KB 的 URL,指定上次嘗試複製檔案作業中使用的來源檔案,而此檔案是目的地檔案。

copyStatus

'x-ms-copy-id' 所識別之複製作業的狀態。

copyStatusDescription

只有在 x-ms-copy-status 失敗或擱置時才會出現。 描述嚴重或非嚴重複製作業失敗的原因。

date

服務所產生的 UTC 日期/時間值,指出回應起始的時間。

errorCode

錯誤碼

etag

ETag 包含值,您可以用引號來有條件地執行作業。

fileAttributes

為檔案設定的屬性。

fileChangeOn

變更檔案的時間。

fileCreatedOn

檔案的建立時間。

fileId

檔案的 fileId。

fileLastWriteOn

檔案的上次寫入時間。

fileParentId

檔案的父 fileId。

filePermissionKey

檔案之許可權集的索引鍵。

fileType

傳回 File 類型。 保留供日後使用。

isServerEncrypted

如果檔案數據和應用程式元數據使用指定的演算法完全加密,則此標頭的值會設定為 true。 否則,此值會設定為 false (當檔案未加密時,或只有部分檔案/應用程式元數據已加密時)。

lastModified

傳回上次修改檔案的日期和時間。 日期格式遵循 RFC 1123。 修改檔案或其屬性的任何作業會更新上次修改的時間。

leaseDuration

當檔案租用時,指定租用是無限期還是固定持續時間。

leaseState

檔案的租用狀態。

leaseStatus

檔案目前的租用狀態。

metadata

與這個檔案相關聯的一組名稱/值組做為使用者定義元數據。

posixProperties

NFS 檔案的屬性。

requestId

此標頭可唯一識別已提出並可用於對要求進行疑難解答的要求。

version

指出用來執行要求的檔案服務版本。

屬性詳細資料

cacheControl

如果先前已為檔案設定 Cache-Control 要求標頭,則會在此標頭中傳回 Cache-Control 值。

cacheControl?: string

屬性值

string

contentDisposition

傳回為 『x-ms-content-disposition』 標頭指定的值,並指定如何處理回應。

contentDisposition?: string

屬性值

string

contentEncoding

如果先前已為檔案設定 Content-Encoding 要求標頭,則會在此標頭中傳回 Content-Encoding 值。

contentEncoding?: string

屬性值

string

contentLanguage

傳回為 Content-Language 要求標頭指定的值。

contentLanguage?: string

屬性值

string

contentLength

以位元組為單位的檔案大小。 此標頭會傳回與檔案一起儲存的 'x-ms-content-length' 標頭值。

contentLength?: number

屬性值

number

contentMD5

如果檔案已設定 Content-MD5 標頭,則會傳回 Content-MD5 回應標頭,讓用戶端可以檢查訊息內容完整性。

contentMD5?: Uint8Array

屬性值

Uint8Array

contentType

為檔案指定的內容類型。 默認內容類型為 'application/octet-stream'

contentType?: string

屬性值

string

copyCompletedOn

上次嘗試複製檔案作業的結束時間,此檔案是目的地檔案。 這個值可以指定完成、中止或失敗複製嘗試的時間。

copyCompletedOn?: Date

屬性值

Date

copyId

上次嘗試複製檔案作業的字元串標識符,其中此檔案是目的地檔案。

copyId?: string

屬性值

string

copyProgress

包含上次嘗試複製的複製檔案作業中複製的位元組數目,以及來源中的位元組總數,而此檔案是目的地檔案。 可以顯示複製的介於 0 和 Content-Length 位元組之間。

copyProgress?: string

屬性值

string

copySource

長度高達 2KB 的 URL,指定上次嘗試複製檔案作業中使用的來源檔案,而此檔案是目的地檔案。

copySource?: string

屬性值

string

copyStatus

'x-ms-copy-id' 所識別之複製作業的狀態。

copyStatus?: CopyStatusType

屬性值

copyStatusDescription

只有在 x-ms-copy-status 失敗或擱置時才會出現。 描述嚴重或非嚴重複製作業失敗的原因。

copyStatusDescription?: string

屬性值

string

date

服務所產生的 UTC 日期/時間值,指出回應起始的時間。

date?: Date

屬性值

Date

errorCode

錯誤碼

errorCode?: string

屬性值

string

etag

ETag 包含值,您可以用引號來有條件地執行作業。

etag?: string

屬性值

string

fileAttributes

為檔案設定的屬性。

fileAttributes?: string

屬性值

string

fileChangeOn

變更檔案的時間。

fileChangeOn?: Date

屬性值

Date

fileCreatedOn

檔案的建立時間。

fileCreatedOn?: Date

屬性值

Date

fileId

檔案的 fileId。

fileId?: string

屬性值

string

fileLastWriteOn

檔案的上次寫入時間。

fileLastWriteOn?: Date

屬性值

Date

fileParentId

檔案的父 fileId。

fileParentId?: string

屬性值

string

filePermissionKey

檔案之許可權集的索引鍵。

filePermissionKey?: string

屬性值

string

fileType

傳回 File 類型。 保留供日後使用。

fileType?: string

屬性值

string

isServerEncrypted

如果檔案數據和應用程式元數據使用指定的演算法完全加密,則此標頭的值會設定為 true。 否則,此值會設定為 false (當檔案未加密時,或只有部分檔案/應用程式元數據已加密時)。

isServerEncrypted?: boolean

屬性值

boolean

lastModified

傳回上次修改檔案的日期和時間。 日期格式遵循 RFC 1123。 修改檔案或其屬性的任何作業會更新上次修改的時間。

lastModified?: Date

屬性值

Date

leaseDuration

當檔案租用時,指定租用是無限期還是固定持續時間。

leaseDuration?: LeaseDurationType

屬性值

leaseState

檔案的租用狀態。

leaseState?: LeaseStateType

屬性值

leaseStatus

檔案目前的租用狀態。

leaseStatus?: LeaseStatusType

屬性值

metadata

與這個檔案相關聯的一組名稱/值組做為使用者定義元數據。

metadata?: {[propertyName: string]: string}

屬性值

{[propertyName: string]: string}

posixProperties

NFS 檔案的屬性。

posixProperties?: FilePosixProperties

屬性值

requestId

此標頭可唯一識別已提出並可用於對要求進行疑難解答的要求。

requestId?: string

屬性值

string

version

指出用來執行要求的檔案服務版本。

version?: string

屬性值

string