Azure 存储帐户连接
Azure storage account connection
刚刚创建了一个包含以下详细信息的 Azure 存储帐户:
地点:英国西部
订阅:即用即付
Performance/Access 等级:Standard/Hot
复制:本地冗余存储 (LRS)
我做的第一件事是在 F# FSI
.
中执行以下代码(用我的真实帐户名和帐户密钥代替 MyAccountName 和 MyAccountKey)
open Microsoft.WindowsAzure.Storage
let connectionString = @"DefaultEndpointsProtocol=https;AccountName=MyAccountName;AccountKey=MyAccountKey"
CloudStorageAccount
.Parse(connectionString)
.CreateCloudTableClient()
.ListTables()
|> Seq.toArray
但我收到以下错误:
Microsoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (501) Not Implemented. ---> System.Net.WebException: The remote server returned an error: (501) Not Implemented.
知道为什么吗?
Performance/Access Tier: Standard/Hot
根据您创建存储帐户的详细信息,我假设您的帐户类型是 Blob storage
。据我所知,Blob 存储帐户专门用于存储 blob 数据。根据您的代码,您需要重新创建您的 Azure 存储帐户并为您的帐户类型选择 General purpose
,它可以为表提供存储。另外,还有一个类似的,你可以参考一下
刚刚创建了一个包含以下详细信息的 Azure 存储帐户:
地点:英国西部
订阅:即用即付
Performance/Access 等级:Standard/Hot
复制:本地冗余存储 (LRS)
我做的第一件事是在 F# FSI
.
open Microsoft.WindowsAzure.Storage
let connectionString = @"DefaultEndpointsProtocol=https;AccountName=MyAccountName;AccountKey=MyAccountKey"
CloudStorageAccount
.Parse(connectionString)
.CreateCloudTableClient()
.ListTables()
|> Seq.toArray
但我收到以下错误:
Microsoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (501) Not Implemented. ---> System.Net.WebException: The remote server returned an error: (501) Not Implemented.
知道为什么吗?
Performance/Access Tier: Standard/Hot
根据您创建存储帐户的详细信息,我假设您的帐户类型是 Blob storage
。据我所知,Blob 存储帐户专门用于存储 blob 数据。根据您的代码,您需要重新创建您的 Azure 存储帐户并为您的帐户类型选择 General purpose
,它可以为表提供存储。另外,还有一个类似的