之间建立新的和经典的存储差异说明在Azure中 [英] Difference between new and classic storage accounts in Azure

查看:124
本文介绍了之间建立新的和经典的存储差异说明在Azure中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

天青具有存储帐户存储账户(经典)中的Azure门户。

Azure has Storage accounts and Storage accounts (classic) in the Azure Portal.

它们之间有什么区别?有什么理由从传统的存储帐户迁移到新的存储帐户?

What are the differences between them? Is there any reason to migrate from a classic storage account to a new storage account?

推荐答案

经典的存储帐户使用现有的服务管理的API(这一直适用于过去几年的REST API栈)创建的。较新的存储帐户与创建新的Azure资源管理器(ARM)的API(这也被包裹在PowerShell和CLI现在)。最终他们提供相同的资源,您的应用程序,但他们创建/管理的方式不同,有一些细微的差别(如标记资源通过ARM脚本创建的能力)。

Classic storage accounts are created using existing Service Management API's (the REST API stack that's been available for the past several years). The newer storage accounts are created with the new Azure Resource Manager (ARM) API's (which are also wrapped in PowerShell and CLI now). Ultimately they provide the same resources to your apps, but they're created/managed differently, and there are a few nuanced differences (such as the ability to tag resources that are created via ARM scripts).

您不能在经典的存储帐户(或任何经典资源)转换到一个新的类型。你并不真的需要,无论如何,除非你试图从古典,新,如添加基于ARM的虚拟机到基于经典的虚拟网络的资源组合,或从VHD映像旋转起来的基于ARM-VM坐在一个典型的存储账户(和这个例子中,你总是可以只将VHD复制到新的存储帐户)。需要注意的是,对于一般的存储使用(斑点/表/队列),你只需要URI和主(或次)键。有了这些,你可以从任何地方访问你的存储资源,从任何VM /网站/等,不管你是从古典或新的虚拟机访问的存储,例如。

You can't convert a classic storage account (or any classic resource) to a newer type. You don't really need to anyway, unless you're trying to mix resources from classic and new, such as adding ARM-based virtual machines to a classic-based virtual network, or spin up an ARM-based VM from a vhd image sitting in a classic storage account (and for that example, you could always just copy the vhd to a new storage account). Note that, for general storage usage (blobs/tables/queues), you just need the URI and the primary (or secondary) key. With those, you can access your storage resources from anywhere, from any VM/website/etc, regardless if you're accessing storage from classic or new virtual machines, for example.

查看<一个href=\"https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-azurerm-versus-azuresm/\">this链接的经典和新资源之间的差异的常规列表。

Check out this link for a general list of differences between classic and new resources.

这篇关于之间建立新的和经典的存储差异说明在Azure中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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