您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

媒体保留单位 (Mru) 基于方案的迁移指南Media Reserved Units (MRUs) scenario-based migration guidance

迁移指南徽标


迁移步骤2

本文提供了基于 MRU 方案的指南,可帮助你从 Azure 媒体服务 V2 迁移到 V3。This article gives you MRU scenario based guidance that will assist you in migrating from Azure Media Services V2 to V3.

  • 对于在 Azure 门户中创建的新 V3 帐户,或与版本为2020-05-01 的 V3 API,你不再需要设置媒体保留单位 (Mru) 。For new V3 accounts created in the Azure portal, or with the 2020-05-01 version of the V3 API, you no longer are required to set Media Reserved Units (MRUs). 系统现在将根据负载自动扩展和缩减。The system will now automatically scale up and down based on load.
  • 如果你有在2020-05-01 版 API 之前创建的 V3 或 V2 帐户,仍然可以使用媒体保留单位来控制作业的并发性和性能。If you have a V3 or V2 account that was created before the 2020-05-01 version of the API, you can still control the concurrency and performance of your jobs using Media Reserved Units. 有关详细信息,请参阅缩放媒体处理。For more information, see Scaling Media Processing. 可以使用适用于 Media Services V3 的 CLI 2.0 或 Azure 门户来管理 Mru。You can manage the MRUs using CLI 2.0 for Media Services V3, or using the Azure portal.
  • 如果在 Azure 门户中看不到用于管理 Mru 的选项,则运行的是使用 2020-05-01 API 或更高版本创建的帐户。If you don't see the option to manage MRUs in the Azure portal, you're running an account that was created with the 2020-05-01 API or later.
  • 如果你熟悉如何将 MRU 类型设置为 S3,性能将会提高或保持不变。If you are familiar with setting your MRU type to S3, your performance will improve or remain the same.
  • 如果你是现有的 V2 客户,则需要在完成迁移之前创建新的 V2 帐户以支持现有应用程序。If you are an existing V2 customer, you need to create a new V2 account to support your existing application prior to the completion of migration.
  • 尚未完全弃用的索引器 V1 或其他媒体处理器可能需要重新启用。Indexer V1 or other media processors that are not fully deprecated yet may need to be enabled again.

有关 Mru 的详细信息,请参阅 媒体保留单位如何缩放媒体保留单位For more information about MRUs, see Media Reserved Units and How to scale media reserved units.

MRU 概念、教程和操作方法指南MRU concepts, tutorials and how to guides

概念Concepts

媒体保留单位Media Reserved Units

操作方法指南How to guides

如何缩放媒体保留单位How to scale media reserved units

示例Samples

你还可以 在代码示例中比较 V2 和 V3 代码You can also compare the V2 and V3 code in the code samples.

后续步骤Next steps

Step 1

Understand the benefits of migrating to Media Services API V3.

Step 2

Understand the differences between Media Services V2 API and the V3 API.

Step 3

Understand the SDK differences and set up to migrate to the V3 REST API or client SDK.

Step 4

Your application of Media Services V2 may be unique. Therefore, we have provided guidance based on how you may have used media services in the past and the steps for each feature of the service such as: