共用方式為


CommonGenerateSasUrlOptions interface

屬性

cacheControl

Optional. SAS 的快取控制標頭。

contentDisposition

Optional. SAS 的內容處置標頭。

contentEncoding

Optional. SAS 的內容編碼標頭。

contentLanguage

Optional. SAS 的內容語言標頭。

contentType

Optional. SAS 的內容類型標頭。

delegatedUserObjectId

Optional. 從 2025-07-05 版本開始,此值指定使用者被授權使用 SAS URL 的 Entra ID。 所產生的 SAS URL 必須與已發給該值使用者的 Entra ID 令牌一起使用。

encryptionScope

Optional. 傳送具有此SAS URI授權的要求時要使用的加密範圍。

expiresOn

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

identifier

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

請參閱 https://learn.microsoft.com/rest/api/storageservices/establishing-a-stored-access-policy

ipRange

Optional. 此 SAS 中允許的IP範圍。

protocol

Optional. SAS 通訊協定、僅限 HTTPS 或 HTTPSandHTTP

startsOn

Optional. SAS 何時生效。

version

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

屬性詳細資料

cacheControl

Optional. SAS 的快取控制標頭。

cacheControl?: string

屬性值

string

contentDisposition

Optional. SAS 的內容處置標頭。

contentDisposition?: string

屬性值

string

contentEncoding

Optional. SAS 的內容編碼標頭。

contentEncoding?: string

屬性值

string

contentLanguage

Optional. SAS 的內容語言標頭。

contentLanguage?: string

屬性值

string

contentType

Optional. SAS 的內容類型標頭。

contentType?: string

屬性值

string

delegatedUserObjectId

Optional. 從 2025-07-05 版本開始,此值指定使用者被授權使用 SAS URL 的 Entra ID。 所產生的 SAS URL 必須與已發給該值使用者的 Entra ID 令牌一起使用。

delegatedUserObjectId?: string

屬性值

string

encryptionScope

Optional. 傳送具有此SAS URI授權的要求時要使用的加密範圍。

encryptionScope?: string

屬性值

string

expiresOn

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

expiresOn?: Date

屬性值

Date

identifier

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

請參閱 https://learn.microsoft.com/rest/api/storageservices/establishing-a-stored-access-policy

identifier?: string

屬性值

string

ipRange

Optional. 此 SAS 中允許的IP範圍。

ipRange?: SasIPRange

屬性值

protocol

Optional. SAS 通訊協定、僅限 HTTPS 或 HTTPSandHTTP

protocol?: SASProtocol

屬性值

startsOn

Optional. SAS 何時生效。

startsOn?: Date

屬性值

Date

version

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

version?: string

屬性值

string