最佳答案
Azure 有两个 different deployment models用于创建和使用资源:资源管理器和经典。
这两种模型的创建、配置和管理 Azure 资源的方式有所不同。在经典模式下,Azure 中预配的每个资源都是一个管理单元。您单独管理所有资源。经典模式不允许资源分组,导致管理Azure资源变得困难。
Azure 资源管理模式添加了资源组的概念,资源组是共享共同生命周期的资源的容器。在 ARM 模式下,您可以将解决方案的所有服务作为一个组进行部署、管理和监控,而不是单独处理这些服务。此外,您还可以将标签应用于资源,以逻辑地组织订阅中的所有资源。
当您从命令行(例如 Azure PowerShell)与经典模式资源交互时,您正在使用Azure 服务管理 API 调用 (ASM)。 ASM 是访问 Azure 资源的传统方式。在资源管理器模式下,您正在使用 Azure Resource Manager Rest API 。当用户从任何 Azure 工具、API 或 SDK 发送请求时,资源管理器都会收到该请求。它验证并授权请求。资源管理器将请求发送到 Azure 服务,Azure 服务将执行请求的操作。请参阅Azure Resource Manager overview .
虚拟网络(经典)用于经典模型。 Azure 中的虚拟网络是为资源管理器模型创建的。目前,Microsoft 建议您对所有新资源使用资源管理器。大多数情况下,当您为 cloud services 创建 VNet 时,会使用虚拟网络(经典)。据我所知。对于资源管理器资源,您只需在 Azure 门户中创建虚拟网络即可。
There are three scenarios to be aware of:
- Cloud Services does not support Resource Manager deployment model.
- Virtual machines, storage accounts, and virtual networks support both Resource Manager and classic deployment models.
- All other Azure services support Resource Manager
这是一个关于 Azure Classic vs Azure Resource Manager 的博客
So which one should I use?
Since both modes are viable options at this point, it is necessary to pay careful attention to the features that each offer and your specific requirements. ARM cannot simply be assumed to be the best fit as it simply may not meet all of your or your customer’s needs.
关于azure - 虚拟网络(经典)和 Azure 中的虚拟网络有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58756340/