无法获得昨天或使用Powershell之前创建的存储帐户中的Blob

问题描述 投票:0回答:1

虽然我尝试运行以下命令

Get-AzureStorageBlob -Blob $BlobName -Container $ContainerName -Context $StorageContext

我创建了具有相同名称的blob,并以相同的名称显示在Azure存储容器中,并且该存储容器的访问级别为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
azure powershell azure-storage-blobs
1个回答
1
投票

更新:

© www.soinside.com 2019 - 2024. All rights reserved.