你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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