Azure表存储-501未在CreateIfNotExistsAsync上实现 [英] Azure Table Storage - 501 NotImplemented on CreateIfNotExistsAsync

查看:60
本文介绍了Azure表存储-501未在CreateIfNotExistsAsync上实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用一个我知道可以使用的存储帐户和帐户密钥/信用:我有一个blob容器,它使用完全相同的连接字符串,效果很好.

I'm using a storage account and account key/creds which I know to work: I have a blob container using exactly the same connection string which works fine.

我正在有效地这样做:

CloudStorageAccount.Parse(_connectionString).CreateCloudTableClient().GetTableReference("MyTableHere").CreateIfNotExistsAsync().Wait()

(我不在异步情况下,因此请稍候.与此异常无关)

(I'm not in an async scenario, hence the wait. Has nothing to do with this exception)

它引发一个聚合异常,单个内部异常是:

It throws an aggregate exception, the single inner exception is:

Unexpected response code, Expected:OK or NotFound, Received:NotImplemented

深处例外:

The requested operation is not implemented on the specified resource. RequestId:30593945-0002-0019-0dde-3e30370003322 Time:2016-11-16T07:58:01.2396651Z-在此处将请求ID匿名化.

The requested operation is not implemented on the specified resource. RequestId:30593945-0002-0019-0dde-3e30370003322 Time:2016-11-16T07:58:01.2396651Z - anonymised the request ID here.

想不到还有什么可以尝试的!在文档中找不到关于任何其他要求的提及.

Can't think what else to try! Can't find any mention in the docs about any additional requirements here.

推荐答案

表(以及队列和文件).到目前为止,Blob Storage类型的存储帐户不支持表,队列和文件.

Tables (and also Queues & Files) are not supported by all kinds of storage accounts. As of today Tables, Queues and Files are not supported for Blob Storage kind of storage accounts.

对于普通存储帐户,具有以下冗余类型的帐户也不支持这些服务:ZRS(仅支持块/附加" blob)和Premium LRS(仅支持页面" blob).

Also for regular storage accounts, these services are not supported for accounts with following redundancy kinds: ZRS (only Block/Append blobs are supported) and Premium LRS (only Page blobs are supported).

这篇关于Azure表存储-501未在CreateIfNotExistsAsync上实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆