【发布时间】:2020-08-02 12:39:08
【问题描述】:
当我尝试运行以下命令时
Get-AzureStorageBlob -Blob $BlobName -Container $ContainerName -Context $StorageContext
我在 Azure 存储容器中创建并存在同名的 blob,存储容器的访问级别是 blob,但除了今天创建的 blob 之外,我仍然没有得到 blob
Get-AzureStorageBlob : Can not find blob 'blablaba.zip' in container 'blabla', or the blob type is unsupported. At C:\GitLocalWorkSpace\blabla.ps1:32 char:1
+ Get-AzureStorageBlob -Blob $BlobName -Container $ContainerName -Conte ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (:) [Get-AzureStorageBlob], ResourceNotFoundException
+ FullyQualifiedErrorId : ResourceNotFoundException,Microsoft.WindowsAzure.Commands.Storage.Blob.Cmdlet.GetAzureSto rageBlobCommand
【问题讨论】:
-
嗨,何塞。正常的存储 blob 不会出现在您面前。我猜这个存储可能不是你创建的?您可能遇到的是生命周期。请检查。
标签: azure powershell azure-blob-storage