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

TableSasSignatureValues interface

仅在NODE.JS运行时中可用。

TableSASSignatureValues 用于帮助为表生成表服务 SAS 令牌

属性

endPartitionKey

定义分区键范围表查询的末尾将仅返回区域中的结果,并且尝试使用共享访问签名添加、更新或删除此范围之外的实体将失败。 如果 startPartitionKey 等于 endPartitionKey,则共享访问签名仅授权访问表中一个分区中的实体。 如果 startPartitionKey 等于 endPartitionKey 和 startRowKey 等于 endRowKey,则共享访问签名只能访问一个分区中的一个实体

endRowKey

定义行键范围表查询的末尾将仅返回区域中的结果,并且尝试使用共享访问签名添加、更新或删除此范围之外的实体将失败。 如果 startPartitionKey 等于 endPartitionKey,则共享访问签名仅授权访问表中一个分区中的实体。 如果 startPartitionKey 等于 endPartitionKey 和 startRowKey 等于 endRowKey,则共享访问签名只能访问一个分区中的一个实体

expiresOn

自选。 如果未提供标识符,则默认值为从生成令牌起一小时。 SAS 不再工作的时间。

identifier

自选。 此 SAS 引用的容器上的访问策略的名称(如果有)。

请参阅 https://learn.microsoft.com/en-us/rest/api/storageservices/establishing-a-stored-access-policy

ipRange

自选。 此 SAS 中允许的 IP 范围。

permissions

自选。 如果未提供标识符的默认值为“read”,请参阅 TableSasPermissions,具体取决于要访问的资源,以帮助构造权限字符串。

protocol

自选。 SAS 协议、仅 HTTPS 或 HTTPSandHTTP

startPartitionKey

定义分区键范围表查询的开头将仅返回区域中的结果,并且尝试使用共享访问签名添加、更新或删除此范围之外的实体将失败。 如果 startPartitionKey 等于 endPartitionKey,则共享访问签名仅授权访问表中一个分区中的实体。 如果 startPartitionKey 等于 endPartitionKey 和 startRowKey 等于 endRowKey,则共享访问签名只能访问一个分区中的一个实体

startRowKey

定义行键范围表查询的开头将仅返回区域内的结果,并且尝试使用共享访问签名添加、更新或删除此范围之外的实体将失败。 如果 startPartitionKey 等于 endPartitionKey,则共享访问签名仅授权访问表中一个分区中的实体。 如果 startPartitionKey 等于 endPartitionKey 和 startRowKey 等于 endRowKey,则共享访问签名只能访问一个分区中的一个实体

startsOn

自选。 SAS 何时生效。

version

此 SAS 将面向的服务版本。 如果未指定,则默认为库面向的版本。

属性详细信息

endPartitionKey

定义分区键范围表查询的末尾将仅返回区域中的结果,并且尝试使用共享访问签名添加、更新或删除此范围之外的实体将失败。 如果 startPartitionKey 等于 endPartitionKey,则共享访问签名仅授权访问表中一个分区中的实体。 如果 startPartitionKey 等于 endPartitionKey 和 startRowKey 等于 endRowKey,则共享访问签名只能访问一个分区中的一个实体

endPartitionKey?: string

属性值

string

endRowKey

定义行键范围表查询的末尾将仅返回区域中的结果,并且尝试使用共享访问签名添加、更新或删除此范围之外的实体将失败。 如果 startPartitionKey 等于 endPartitionKey,则共享访问签名仅授权访问表中一个分区中的实体。 如果 startPartitionKey 等于 endPartitionKey 和 startRowKey 等于 endRowKey,则共享访问签名只能访问一个分区中的一个实体

endRowKey?: string

属性值

string

expiresOn

自选。 如果未提供标识符,则默认值为从生成令牌起一小时。 SAS 不再工作的时间。

expiresOn?: Date

属性值

Date

identifier

自选。 此 SAS 引用的容器上的访问策略的名称(如果有)。

请参阅 https://learn.microsoft.com/en-us/rest/api/storageservices/establishing-a-stored-access-policy

identifier?: string

属性值

string

ipRange

自选。 此 SAS 中允许的 IP 范围。

ipRange?: SasIPRange

属性值

permissions

自选。 如果未提供标识符的默认值为“read”,请参阅 TableSasPermissions,具体取决于要访问的资源,以帮助构造权限字符串。

permissions?: TableSasPermissions

属性值

protocol

自选。 SAS 协议、仅 HTTPS 或 HTTPSandHTTP

protocol?: SasProtocol

属性值

startPartitionKey

定义分区键范围表查询的开头将仅返回区域中的结果,并且尝试使用共享访问签名添加、更新或删除此范围之外的实体将失败。 如果 startPartitionKey 等于 endPartitionKey,则共享访问签名仅授权访问表中一个分区中的实体。 如果 startPartitionKey 等于 endPartitionKey 和 startRowKey 等于 endRowKey,则共享访问签名只能访问一个分区中的一个实体

startPartitionKey?: string

属性值

string

startRowKey

定义行键范围表查询的开头将仅返回区域内的结果,并且尝试使用共享访问签名添加、更新或删除此范围之外的实体将失败。 如果 startPartitionKey 等于 endPartitionKey,则共享访问签名仅授权访问表中一个分区中的实体。 如果 startPartitionKey 等于 endPartitionKey 和 startRowKey 等于 endRowKey,则共享访问签名只能访问一个分区中的一个实体

startRowKey?: string

属性值

string

startsOn

自选。 SAS 何时生效。

startsOn?: Date

属性值

Date

version

此 SAS 将面向的服务版本。 如果未指定,则默认为库面向的版本。

version?: string

属性值

string