剛剛創建了一個Azure存儲帳戶,並具有以下細節:Azure存儲帳戶連接
地點:英國西
訂閱:現收現付
性能/接入層: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.
任何想法,爲什麼?
感謝布魯斯,將帳戶類型更改爲「通用」,而不是「Blob存儲」。 –