使用 Azure 门户更改性能层Change your performance tier using the Azure portal

创建磁盘时,将以其性能层的形式设置 Azure 托管磁盘的性能。The performance of your Azure managed disk is set when you create your disk, in the form of its performance tier. 性能层决定了托管磁盘的 IOPS 和吞吐量。The performance tier determines the IOPS and throughput your managed disk has. 当你设置磁盘的预配大小时,系统会自动选择性能层。When you set the provisioned size of your disk, a performance tier is automatically selected. 可以在部署时或之后更改性能层,而无需更改磁盘大小。The performance tier can be changed at deployment or afterwards, without changing the size of the disk. 要了解有关性能层的详细信息,请参阅托管磁盘的性能层To learn more about performance tiers, see Performance tiers for managed disks.

限制Restrictions

  • 目前仅高级 SSD 支持此功能。This feature is currently supported only for premium SSDs.
  • 必须先对 VM 解除分配或从正在运行的 VM 中拆离磁盘,然后才能更改磁盘层级。You must either deallocate your VM or detach your disk from a running VM before you can change the disk's tier.
  • P60、P70 和 P80 性能层只能由大于 4,096 GiB 的磁盘使用。The P60, P70, and P80 performance tiers can only be used by disks that are larger than 4,096 GiB.
  • 磁盘的性能层每 12 小时只能降级一次。A disk's performance tier can be downgraded only once every 12 hours.

入门Getting started

新磁盘New disks

以下步骤介绍了如何在首次创建磁盘时更改磁盘的性能层:The following steps show how to change the performance tier of your disk when you first create the disk:

  1. 登录 Azure 门户Sign in to the Azure portal.
  2. 导航到要为其创建新磁盘的 VM。Navigate to the VM you'd like to create a new disk for.
  3. 选择新磁盘时,请首先选择所需的磁盘的大小。When selecting the new disk, first choose the size, of disk you need.
  4. 选择大小后,请选择其他性能层以更改其性能。Once you've selected a size, then select a different performance tier, to change its performance.
  5. 选择“确定”以创建磁盘。Select OK to create the disk.

磁盘创建边栏选项卡的屏幕截图,其中突出显示了一个磁盘,并突出显示了性能层下拉列表。

现有磁盘Existing disks

以下步骤概述了如何更改现有磁盘的性能层:The following steps outline how to change the performance tier of an existing disk:

  1. 登录 Azure 门户Sign in to the Azure portal.
  2. 导航到包含要更改的磁盘的 VM。Navigate to the VM containing the disk you'd like to change.
  3. 解除分配 VM 或分离磁盘。Either deallocate the VM or detach the disk.
  4. 选择磁盘Select your disk
  5. 选择“大小 + 性能”。Select Size + Performance.
  6. 在“性能层”下拉列表中,选择一个与磁盘的当前性能层不同的层。In the Performance tier dropdown, select a tier other than the disk's current performance tier.
  7. 选择“调整大小”。Select Resize.

“大小 + 性能”边栏选项卡的屏幕截图,其中突出显示了性能层。

后续步骤Next steps

如果需要调整磁盘大小以利用更高的性能层,请参阅以下文章:If you need to resize a disk to take advantage of the higher performance tiers, see these articles: