BlobGenerateSasUrlOptions interface

設定 <xref:BlobClient.generateSasUrl> 作業的選項。

Extends

屬性

cacheControl

自選。 SAS 的快取控制標頭。

contentDisposition

自選。 SAS 的內容處置標頭。

contentEncoding

自選。 SAS 的內容編碼標頭。

contentLanguage

自選。 SAS 的內容語言標頭。

contentType

自選。 SAS 的內容類型標頭。

expiresOn

只有在提供標識符時,才為選擇性。 SAS 將無法再運作的時間。

identifier

自選。 如果有任何的話,此 SAS 會參考容器上的存取原則名稱。

ipRange

自選。 此 SAS 中允許的IP範圍。

permissions

只有在提供標識符時,才為選擇性。 指定要與 SAS 相關聯的許可權清單。

protocol

自選。 SAS 通訊協定、僅限 HTTPS 或 HTTPSandHTTP

startsOn

自選。 SAS 何時生效。

version

此 SAS 的目標服務版本。 如果未指定,它會預設為連結庫的目標版本。

屬性詳細資料

cacheControl

自選。 SAS 的快取控制標頭。

TypeScript
cacheControl?: string

屬性值

string

contentDisposition

自選。 SAS 的內容處置標頭。

TypeScript
contentDisposition?: string

屬性值

string

contentEncoding

自選。 SAS 的內容編碼標頭。

TypeScript
contentEncoding?: string

屬性值

string

contentLanguage

自選。 SAS 的內容語言標頭。

TypeScript
contentLanguage?: string

屬性值

string

contentType

自選。 SAS 的內容類型標頭。

TypeScript
contentType?: string

屬性值

string

expiresOn

只有在提供標識符時,才為選擇性。 SAS 將無法再運作的時間。

TypeScript
expiresOn?: Date

屬性值

Date

identifier

自選。 如果有任何的話,此 SAS 會參考容器上的存取原則名稱。

TypeScript
identifier?: string

屬性值

string

ipRange

自選。 此 SAS 中允許的IP範圍。

TypeScript
ipRange?: SasIPRange

屬性值

permissions

只有在提供標識符時,才為選擇性。 指定要與 SAS 相關聯的許可權清單。

TypeScript
permissions?: BlobSASPermissions

屬性值

protocol

自選。 SAS 通訊協定、僅限 HTTPS 或 HTTPSandHTTP

TypeScript
protocol?: SASProtocol

屬性值

startsOn

自選。 SAS 何時生效。

TypeScript
startsOn?: Date

屬性值

Date

version

此 SAS 的目標服務版本。 如果未指定,它會預設為連結庫的目標版本。

TypeScript
version?: string

屬性值

string