【发布时间】:2013-08-29 15:33:26
【问题描述】:
我使用http://msdn.microsoft.com/en-us/library/windowsazure/hh343262.aspx 作为参考。
那个页面说
"The $logs container is located in the blob namespace of the storage account,
for example: http://<accountname>.blob.core.windows.net/$logs"
上面还说
"you can use the ListBlobs method to access the blobs in the $logs container."
现在在这个页面http://msdn.microsoft.com/en-us/library/windowsazure/ee772878.aspx 上给出了一个例子:
CloudBlobClient blobClient =
new CloudBlobClient(blobEndpoint,
new StorageCredentialsAccountAndKey("accountName", "key"));
CloudBlobContainer container = blobClient.GetContainerReference("myblobs");
问题:如果 blob 存储在 http://accountname.blob.core.windows.net/$logs,那么我该如何设置 blobEndPoint?
我应该把什么作为 GetContainerReference("") ?我不知道容器的名称,我是 Azure 的新手。
谢谢, 安德鲁
【问题讨论】:
标签: c# azure azure-storage