查看对你重要的 Azure 顾问建议View Azure Advisor recommendations that matter to you

Azure 顾问提供的建议可用于优化 Azure 部署。Azure Advisor provides recommendations to help you optimize your Azure deployments. 在 Azure 顾问中,你可以访问一些功能,以便将建议的范围缩小到那些对你来说重要的建议。Within Advisor, you have access to a few features that help you to narrow down your recommendations to only those that matter to you.

配置订阅和资源组Configure subscriptions and resource groups

可以通过 Azure 顾问选择对你和组织重要的订阅和资源组。Advisor gives you the ability to select Subscriptions and Resource Groups that matter to you and your organization. 你只会看到所选的订阅和资源组的建议。You only see recommendations for the subscriptions and resource groups that you select. 默认情况下,所有项都处于选中状态。By default, all are selected. 配置设置适用于订阅或资源组,因此相同的设置适用于可以访问该订阅或资源组的所有人。Configuration settings apply to the subscription or resource group, so the same settings apply to everyone that has access to that subscription or resource group. 可以通过 Azure 门户或编程方式更改配置设置。Configuration settings can be changed in the Azure portal or programmatically.

若要通过 Azure 门户进行更改,请执行以下操作:To make changes in the Azure portal:

  1. 在 Azure 门户中打开 Azure 顾问Open Azure Advisor in the Azure portal.

  2. 在菜单中选择“配置” 。Select Configuration from the menu.

    Azure 顾问配置菜单

  3. 对于需要接收 Azure 顾问建议的订阅或资源组,请勾选“包括”列中的框。 Check the box in the Include column for any subscriptions or resource groups to receive Advisor recommendations. 如果禁用此框,则可能无权在该订阅或资源组上进行配置更改。If the box is disabled, you may not have permission to make a configuration change on that subscription or resource group.

  4. 进行更改后,单击底部的“应用”。 Click Apply at the bottom after you make a change.

在 Azure 门户中筛选视图Filtering your view in the Azure portal

配置设置在更改前保持活动状态Configuration settings remain active until changed. 若要对建议视图进行限制以启用单一视图,可以使用在 Azure 顾问面板顶部提供的下拉列表。If you want to limit the view of recommendations for a single viewing, you can use the drop downs provided at the top of the Advisor panel. 在“概览”、“高可用性”、“安全性”、“性能”、“成本”、“所有建议”面板中,可以选择要查看的订阅、资源类型以及建议状态。From the Overview, High Availability, Security, Performance, Cost, and All Recommendation panels, you can select the Subscriptions, Resource Types, and recommendation status that you want to see.

Azure 顾问筛选菜单

关闭和推迟建议Dismissing and postponing recommendations

Azure 顾问允许关闭或推迟单个资源的建议。Azure Advisor allows you to dismiss or postpone recommendations on a single resource. 如果关闭某个建议,则无法再次看到它,除非你手动激活它。If you dismiss a recommendation, you do not see it again unless you manually activate it. 但是,推迟某个建议时,可以指定一个期限,该期限过后建议会自动再次激活。However, postponing a recommendation allows you to specify a duration after which the recommendation is automatically activated again. 可以通过 Azure 门户或编程方式进行推迟。Postponing can be done in the Azure portal or programmatically.

在 Azure 门户中推迟单个建议Postpone a single recommendation in the Azure portal

  1. 在 Azure 门户中打开 Azure 顾问Open Azure Advisor in the Azure portal.

  2. 选择一个用于查看建议的建议类别Select a recommendation category to view your recommendations

  3. 选择建议列表中的建议Select a recommendation from the list of recommendations

  4. 针对要推迟或关闭的建议选择“推迟”或“关闭”Select Postpone or Dismiss for the recommendation you want to postpone or dismiss

    Azure 顾问筛选菜单

在 Azure 门户中推迟或关闭多个建议Postpone or dismiss a multiple recommendations in the Azure portal

  1. 在 Azure 门户中打开 Azure 顾问Open Azure Advisor in the Azure portal.

  2. 选择一个用于查看建议的建议类别。Select a recommendation category to view your recommendations.

  3. 选择建议列表中的建议。Select a recommendation from the list of recommendations.

  4. 针对需要推迟或关闭建议的所有资源,选择行左侧的复选框。Select the checkbox at the left of the row for all resources you want to postpone or dismiss the recommendation.

  5. 选择表左上的“推迟”或“关闭”。 Select Postpone or Dismiss at the top left of the table.

    Azure 顾问筛选菜单

Note

需要参与者或所有者权限才能关闭或推迟建议。You need contributor or owner permission to dismiss or postpone a recommendation. 详细了解 Azure 顾问中的权限。Learn more about permissions in Azure Advisor.

Note

在禁用选择框的情况下,建议可能仍在加载。If the selection boxes are disabled, recommendations may still be loading. 在尝试推迟或关闭之前,请等待所有建议加载完成。Please wait for all recommendations to load before trying to postpone or dismiss.

重新激活已推迟或关闭的建议Reactivate a postponed or dismissed recommendation

可以激活已推迟或关闭的建议。You can activate a recommendation that has been postponed or dismissed. 可以通过 Azure 门户或编程方式完成此操作。This action can be done in the Azure portal or programmatically. 在 Azure 门户中:In the Azure portal:

  1. 在 Azure 门户中打开 Azure 顾问Open Azure Advisor in the Azure portal.

  2. 在“概览”面板上将筛选器更改为“已推迟”。 Change the filter on the Overview panel to Postponed. Azure 顾问然后会显示已推迟或关闭的建议。Advisor then displays postponed or dismissed recommendations.

    Azure 顾问筛选菜单

  3. 选择一个用于查看“已推迟”或“已关闭”建议的类别。 Select a category to see Postponed and Dismissed recommendations.

  4. 选择建议列表中的建议。Select a recommendation from the list of recommendations. 这样就会打开“已推迟和已关闭”选项卡已处于选中状态的建议,显示已推迟或关闭此建议的资源。 This opens recommendations with the Postponed & Dismissed tab already selected to show the resources for which this recommendation has been postponed or dismissed.

  5. 单击行尾的“激活” 。Click on Activate at the end of the row. 单击后,该资源的建议处于活动状态,并会从此表中删除。Once clicked, the recommendation is active for that resource and so removed from this table. 现在,建议在“活动”选项卡中处于可见状态。 The recommendation is now visible in the Active tab.

    Azure 顾问筛选菜单

后续步骤Next steps

本文介绍了如何在 Azure 顾问中查看重要的建议。This article explains how you can view recommendations that matter to you in Azure Advisor. 若要详细了解顾问,请参阅以下资源:To learn more about Advisor, see: