BlobGenerateSasUrlOptions interface
用于配置 <xref:BlobClient.generateSasUrl>作的选项。
属性
cache |
自选。 SAS 的缓存控制标头。 |
content |
自选。 SAS 的内容处置标头。 |
content |
自选。 SAS 的内容编码标头。 |
content |
自选。 SAS 的内容语言标头。 |
content |
自选。 SAS 的内容类型标头。 |
expires |
仅当提供标识符时才可选。 SAS 不再工作的时间。 |
identifier | 自选。 此 SAS 引用的容器上的访问策略的名称(如果有)。 |
ip |
自选。 此 SAS 中允许的 IP 范围。 |
permissions | 仅当提供标识符时才可选。 指定要与 SAS 关联的权限列表。 |
protocol | 自选。 SAS 协议、仅 HTTPS 或 HTTPSandHTTP |
starts |
自选。 SAS 何时生效。 |
version | 此 SAS 将面向的服务版本。 如果未指定,则默认为库面向的版本。 |
属性详细信息
cacheControl
自选。 SAS 的缓存控制标头。
cacheControl?: string
属性值
string
contentDisposition
自选。 SAS 的内容处置标头。
contentDisposition?: string
属性值
string
contentEncoding
自选。 SAS 的内容编码标头。
contentEncoding?: string
属性值
string
contentLanguage
自选。 SAS 的内容语言标头。
contentLanguage?: string
属性值
string
contentType
自选。 SAS 的内容类型标头。
contentType?: string
属性值
string
expiresOn
仅当提供标识符时才可选。 SAS 不再工作的时间。
expiresOn?: Date
属性值
Date
identifier
自选。 此 SAS 引用的容器上的访问策略的名称(如果有)。
identifier?: string
属性值
string
ipRange
permissions
protocol
startsOn
自选。 SAS 何时生效。
startsOn?: Date
属性值
Date
version
此 SAS 将面向的服务版本。 如果未指定,则默认为库面向的版本。
version?: string
属性值
string