启动、停止和删除 Azure Spring Apps 中的应用程序

注意

Azure Spring Apps 是 Azure Spring Cloud 服务的新名称。 虽然该服务有新名称,但一些地方仍会使用旧名称,我们仍在更新屏幕截图、视频和图形等资产。

本指南说明如何使用 Azure 门户或 Azure CLI 在 Azure Spring Apps 中更改应用程序的状态。

先决条件

应用程序状态

在 Azure Spring Apps 中运行的应用程序可能不需要连续运行。 例如,如果应用程序仅在营业时间使用,则它可能不需要一直保持运行。

有时你可能想要停止或启动应用程序。 还可以在执行一般性的故障排除步骤过程中重启应用程序,或删除不再需要的应用程序。

管理应用程序状态

部署应用程序后,可以使用 Azure 门户Azure CLI 启动、停止和删除该应用程序。

  1. 转到 Azure 门户中的 Azure Spring Apps 服务实例。

  2. 选择“应用程序仪表板”。

  3. 选择要更改其状态的应用程序。

  4. 在该应用程序的“概述”页上,选择“启动/停止”、“重启”或“删除”。

    Screenshot of Azure portal showing the Overview page of the demo app.

后续步骤