从 Azure VM 启用“更新管理”Enable Update Management from an Azure VM

本文介绍如何使用 Azure VM 在其他计算机上启用更新管理功能。This article describes how you can use an Azure VM to enable the Update Management feature on other machines. 若要大规模启用 Azure VM,必须使用更新管理启用现有 VM。To enable Azure VMs at scale, you must enable an existing VM using Update Management.

备注

在启用更新管理时,只有某些区域支持链接 Log Analytics 工作区和自动化帐户。When enabling Update Management, only certain regions are supported for linking a Log Analytics workspace and an Automation account. 有关支持的映射对的列表,请参阅自动化帐户和 Log Analytics 工作区的区域映射For a list of the supported mapping pairs, see Region mapping for Automation account and Log Analytics workspace.

先决条件Prerequisites

登录 AzureSign in to Azure

登录 Azure 门户Sign in to the Azure portal.

启用相关功能来进行部署Enable the feature for deployment

  1. Azure 门户中,选择“虚拟机”,或在“主页”页上搜索并选择“虚拟机” 。In the Azure portal, select Virtual machines or search for and select Virtual machines from the Home page.

  2. 选择要启用更新管理的 VM。Select the VM for which you want to enable Update Management. VM 可以位于任何区域,无论自动化帐户的位置如何。VMs can exist in any region, no matter the location of your Automation account. You

  3. 在 VM 页的“操作”下选择“更新管理”。On the VM page, under Operations, select Update Management.

  4. 必须拥有 Microsoft.OperationalInsights/workspaces/read 权限才能确定是否为工作区启用了 VM。You must have the Microsoft.OperationalInsights/workspaces/read permission to determine if the VM is enabled for a workspace. 若要了解所需的其他权限,请参阅启用计算机所需的权限To learn about additional permissions that are required, see Permissions needed to enable machines. 若要了解如何一次启用多台计算机,请参阅从自动化帐户启用更新管理To learn how to enable multiple machines at once, see Enable Update Management from an Automation account.

  5. 选择 Log Analytics 工作区和自动化帐户,然后单击“启用”以启用更新管理。Choose the Log Analytics workspace and Automation account and click Enable to enable Update Management. 启用更新管理后,可能需要大约 15 分钟才能查看 VM 的更新评估。After you've enabled Update Management, it might take about 15 minutes before you can view the update assessment from the VM.

    启用更新管理

后续步骤Next steps