有没有办法在Microsoft Azure存储资源管理器或Azure门户中查看托管磁盘的斑点? [英] Is there a way to view blobs of managed disks in Microsoft Azure Storage Explorer or the Azure Portal?

查看:135
本文介绍了有没有办法在Microsoft Azure存储资源管理器或Azure门户中查看托管磁盘的斑点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用带有非托管磁盘的Azure资源管理器创建VM时,可以在 Microsft Azure Storage Explorer 和/或Azure门户在指定存储帐户的Blob容器下的一个子容器中,该容器称为"vhds".

When I create a VM using Azure Resource Manager with an unmanaged disk, I can view its .vhd in Microsft Azure Storage Explorer and/or the Azure Portal under the specified storage account's Blob Container in a sub-container called "vhds".

当我使用带有托管磁盘的Azure资源管理器创建VM时,找不到与该托管磁盘相关的任何存储容器.

When I create a VM using Azure Resource Manager with a managed disk, I can't find any storage container with anything related to this managed disk.

根据

I understand that Azure is "managing" this storage for me, per this Microsoft doc, and also that I can generate a "SAS Url" for this disk (which gives me no real info on where the blob is stored), but I believe (let me know if I'm wrong), that Azure must be storing my "managed disk" in a storage account within my subscription, and that I should be able to see the blobs for these "managed disks" somewhere in Microsoft Azure Storage Explorer or in the Azure Portal.

是否可以通过简便的方法在门户网站或Microsoft Azure存储资源管理器中查看这些托管磁盘.vhds?

Is there an easy way to view these managed disk .vhds in either the portal or Microsoft Azure Storage Explorer?

推荐答案

目前,无法在门户网站或Microsoft Azure存储资源管理器上查看托管磁盘.vhds.

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

托管磁盘与非托管磁盘不同,托管磁盘存储在Microsoft托管存储帐户中.目前,我们无法查看它.您可以将托管磁盘复制到您的专用存储帐户.

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'

注意:

如果托管磁盘连接到VM,则应停止VM,然后可以将其复制到存储帐户.

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

这篇关于有没有办法在Microsoft Azure存储资源管理器或Azure门户中查看托管磁盘的斑点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆