Azure Blob存储-按标签获取Blob不起作用



我遇到了Azure Blob REST Api的Get-By-Tags功能问题。

我正试图添加和读取Blob中的标签,但当通过类似于-https://xxxx.blob.core.windows.net/xxx/myblob?comp=tags,我得到以下响应

<?xml version="1.0" encoding="utf-8"?>
<Error>
<Code>InvalidQueryParameterValue</Code>
<Message>Value for one of the query parameters specified in the request URI is invalid.
RequestId:92580002-101e-001c-7af7-76bf3e000000
Time:2020-08-20T13:42:08.8566047Z</Message>
<QueryParameterName>comp</QueryParameterName>
<QueryParameterValue>tags</QueryParameterValue>
<Reason />
</Error>

这是blob的一个新功能。此功能现在已在预览中,并且仅支持以下区域:

  1. 加拿大中部
  2. 加拿大东部
  3. 法国中部
  4. 法国南部

因为此功能仅在公共预览中,您需要注册订阅才能使用此功能。阅读本文了解更多详细信息。

最新更新