修改目标设置Modify destination settings

本文介绍使用Azure 资源转移器在 Azure 区域之间移动资源时如何修改目标设置。This article describes how to modify destination settings, when moving resources between Azure regions with Azure Resource Mover.

修改 VM 设置Modify VM settings

移动 Azure VM 和关联的资源时,可以修改目标设置。When moving Azure VMs and associated resources, you can modify the destination settings.

  • 建议仅在验证移动集合后更改目标设置。We recommend that you only change destination settings after the move collection is validated.
  • 建议在准备资源之前修改设置,因为在准备完成后,某些目标属性可能无法编辑。We recommend that you modify settings before preparing the resources, because some destination properties might be unavailable for edit after prepare is complete.

但是:However:

  • 如果要移动源资源,则通常可以在启动初始移动过程之前修改目标设置。If you're moving the source resource, you can usually modify destination settings until you start the initiate move process.
  • 如果分配源区域中的现有资源,则可在移动提交完成之前修改目标设置。If you assign an existing resource in the source region, you can modify destination settings until the move commit is complete.

你可以修改的设置Settings you can modify

下表中汇总了你可以修改的配置设置。Configuration settings you can modify are summarized in the table.

资源Resource 选项Options
VM 名称VM name 选项:Options:

- 在目标区域中创建一个具有相同名称的新 VM。- Create a new VM with the same name in the destination region.

- 在目标区域中创建一个名称不同的新 VM。- Create a new VM with a different name in the destination region.

- 使用目标区域中的现有 VM。- Use an existing VM in the destination region.

如果你创建新的 VM,则除了你修改的设置之外,将为新的目标 VM 分配与源相同的设置。If you create a new VM, with the exception of the settings you modify, the new destination VM is assigned the same settings as the source.
VM 可用性区域VM availability zone 将在其中放置目标 VM 的可用性区域。The availability zone in which the destination VM will be placed. 如果不想更改源设置,或者不想将 VM 放置在可用性区域中,请选择“不适用”。Select Not applicable if you don’t want to change the source settings, or if you don’t want to place the VM in an availability zone.
VM SKUVM SKU 将用于目标 VM 的 VM 类型(在目标区域中可用)。The VM type (available in the destination region) that will be used for the destination VM.

所选的目标 VM 不应小于源 VM。The selected destination VM shouldn't be smaller than the source VM.
VM 可用性集VM availability set 将在其中放置目标 VM 的可用性集。The availability set in which the destination VM will be placed. 如果不想更改源设置,或者不想将 VM 放置在可用性集中,请选择“不适用”。Select Not applicable you don’t want to change the source settings, or if you don’t want to place the VM in an availability set.
VM 密钥保管库VM key vault 在 VM 上启用 Azure 磁盘加密时关联的密钥保管库。The associated key vault when you enable Azure disk encryption on a VM.
磁盘加密集Disk encryption set VM 使用客户管理的密钥进行服务器端加密时关联的磁盘加密设置。The associated disk encryption set if the VM uses a customer-managed key for server-side encryption.
资源组Resource group 将在其中放置目标 VM 的资源组。The resource group in which the destination VM will be placed.
网络资源Networking resources 适用于网络接口、虚拟网络 (VNet)/网络安全组的选项:Options for network interfaces, virtual networks (VNets/), and network security groups/network interfaces:

- 在目标区域中创建一个具有相同名称的新资源。- Create a new resource with the same name in the destination region.

- 在目标区域中创建一个名称不同的新资源。- Create a new resource with a different name in the destination region.

- 使用目标区域中的现有网络资源。- Use an existing networking resource in the destination region.

如果创建新的目标资源,则除了你修改的设置之外,将为新的目标资源分配与源资源相同的设置。If you create a new destination resource, with the exception of the settings you modify, it's assigned the same settings as the source resource.
公共 IP 地址名称、SKU 和区域Public IP address name, SKU, and zone 指定标准公共 IP 地址的名称、SKU区域Specifies the name, SKU, and zone for standard public IP addresses.

如果希望它实现区域冗余,请以“区域冗余”形式输入。If you want it to be zone redundant, enter as Zone redundant.
负载均衡器名称、SKU 和区域**Load balancer name, SKU, and zone ** 指定负载均衡器的名称、SKU(基本或标准)以及区域。Specifies the name, SKU (Basic or Standard), and zone for the load balancer.

建议使用“标准”SKU。We recommend using Standard sKU.

如果希望它实现区域冗余,请将它指定为“区域冗余”。If you want it to be zone redundant, specify as Zone redundant.
资源依赖关系Resource dependencies 适用于每个依赖项的选项:Options for each dependency:

- 资源使用将移动到目标区域的源依赖资源。- The resource uses source dependent resources that will move to the destination region.

- 资源使用位于目标区域的不同依赖资源。- The resource uses different dependent resources located in the destination region. 在这种情况下,可以从目标区域的任何类似资源中进行选择。In this case, you can choose from any similar resources in the destination region.

编辑 VM 目标设置Edit VM destination settings

如果不想将依赖资源从源区域移动到目标区域,则可以使用多个其他选项:If you don't want to dependent resources from the source region to the destination, you have a couple of other options:

  • 在目标区域中创建一个新资源。Create a new resource in the destination region. 除非你指定不同的设置,否则新资源将具有与源资源相同的设置。Unless you specify different settings, the new resource will have the same settings as the source resource.
  • 使用目标区域中的现有资源。Use an existing resource in the destination region.

确切行为取决于资源类型。Exact behavior depends on the resource type. 详细了解如何修改目标设置。Learn more about modifying destination settings.

可以使用资源移动集合中的“目标配置”条目来修改资源的目标设置。You modify the destination settings for a resource using the destination configuration entry in the resource move collection.

若要修改设置,请执行以下操作:To modify a setting:

  1. 在“跨区域”页面 >“目标配置”列中,单击资源条目的链接 。In the Across regions page > destination configuration column, click the link for the resource entry.
  2. 在“配置设置”中,可以在目标区域中创建新的 VM。In Configuration settings, you can create a new VM in the destination region.
  3. 为目标 VM 分配新的可用性区域、可用性集或 SKU。Assign a new availability zone, availability set, or SKU to the destination VM. 可用性区域和 SKU。Availability zone and SKU.

仅对正在编辑的资源进行更改。Changes are only made for the resource you're editing. 你需要单独更新所有依赖资源。You need to update any dependent resource separately.

修改 SQL 设置Modify SQL settings

移动 Azure SQL 数据库资源时,可以修改用于移动的目标设置。When moving Azure SQL Database resources, you can modify the destination settings for the move.

  • 对于 SQL 数据库:For SQL database:
    • 建议先修改目标配置设置,然后再准备进行移动。We recommend that you modify destination configuration settings before you prepare them for move.
    • 你可以修改目标数据库的设置以及数据库的区域冗余。You can modify the settings for the destination database, and zone redundancy for the database.
  • 对于弹性池:For elastic pools:
    • 你可以在开始移动前随时修改目标配置。You can modify the destination configuration anytime before initiating the move.
    • 你可以修改目标弹性池以及该池的区域冗余。You can modify the destination elastic pool, and zone redundancy for the pool.

你可以修改的 SQL 设置SQL settings you can modify

设置Setting SQL 数据库SQL database 弹性池Elastic pool
名称Name 在目标区域中创建一个具有相同名称的新数据库。Create a new database with the same name in the destination region.

在目标区域中创建一个名称不同的新数据库。Create a new database with a different name in the destination region.

使用目标区域中的现有数据库。Use an existing database in the destination region.
在目标区域中创建一个具有相同名称的新弹性池。Create a new elastic pool with the same name in the destination region.

在目标区域中创建一个名称不同的新弹性池。Create a new elastic pool with a different name in the destination region.

使用目标区域中的现有弹性池。Use an existing elastic pool in the destination region.
区域冗余Zone redundancy 若要从支持区域冗余的区域移动到不支持区域冗余的区域,请在区域设置中键入“禁用”。To move from a region that supports zone redundancy to a region that doesn't, type Disable in the zone setting.

若要从不支持区域冗余的区域移动到支持区域冗余的区域,请在区域设置中键入“启用”。To move from a region that doesn't support zone redundancy to a region that does, type Enable in the zone setting.
若要从支持区域冗余的区域移动到不支持区域冗余的区域,请在区域设置中键入“禁用”。To move from a region that supports zone redundancy to a region that doesn't, type Disable in the zone setting.

若要从不支持区域冗余的区域移动到支持区域冗余的区域,请在区域设置中键入“启用”。To move from a region that doesn't support zone redundancy to a region that does, type Enable in the zone setting.

编辑 SQL 目标设置Edit SQL destination settings

修改 Azure SQL 数据库资源的目标设置,如下所述:You modify the destination settings for a Azure SQL Database resource as follows:

  1. 在“跨区域”中,对于要修改的资源,请单击“目标配置”条目 。In Across regions, for the resource you want to modify, click the destination configuration entry.
  2. 在“配置设置”中,指定上表中汇总的目标设置。In Configuration settings, specify the destination settings summarized in the table above.

后续步骤Next steps

将 Azure VM 移动到另一个区域Move an Azure VM to another region.