Is there a way to view blobs of managed disks in Microsoft Azure Storage Explorer or the Azure Portal?

☆樱花仙子☆ 提交于 2019-11-30 23:37:20

For now, it is not possible to view managed disk .vhds on Portal or Microsoft Azure Storage Explorer.

Managed disk is different from unmanaged disk, managed disks are stored in a Microsoft managed storage account. For now, we could not view it. You could copy managed disks to your private storage account.

##create $SAS
$sas = Grant-AzureRmDiskAccess -ResourceGroupName shui -DiskName shuitest -DurationInSecond 3600 -Access Read 
$destContext = New-AzureStorageContext –StorageAccountName contosostorageav1 -StorageAccountKey 'YourStorageAccountKey' 
Start-AzureStorageBlobCopy -AbsoluteUri $sas.AccessSAS -DestContainer 'vhds' -DestContext $destContext -DestBlob 'MyDestinationBlobName.vhd'

Notes:

If the managed disk attach to a VM, you should stop your VM, then you could copy it to your storage account.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!