教程:清理资源Tutorial: Clean up resources

如果你完成了本教程(包含多个部分)中的所有步骤,那么就已在资源组中创建了应用服务、应用服务托管计划和存储帐户。If you completed all the steps in this multipart tutorial, you created an app service, app service hosting plan, and a storage account in a resource group. 还在 Azure Active Directory 中创建了应用注册。You also created an app registration in Azure Active Directory. 如果不再需要这些资源和应用注册,请将其删除,以免继续产生费用。When no longer needed, delete these resources and app registration so that you don't continue to accrue charges.

在本教程中,你将了解:In this tutorial, you learn how to:

  • 删除按照本教程创建的 Azure 资源。Delete the Azure resources created while following the tutorial.

删除资源组Delete the resource group

Azure 门户中,从门户菜单中选择“资源组”,然后选择包含应用服务和应用服务计划的资源组。In the Azure portal, select Resource groups from the portal menu and select the resource group that contains your app service and app service plan.

选择“删除资源组”,删除该资源组和所有资源。Select Delete resource group to delete the resource group and all the resources.

显示如何删除资源组的屏幕截图。

此命令可能需要几分钟才能运行。This command might take several minutes to run.

删除应用注册Delete the app registration

从门户菜单中选择“Azure Active Directory” > “应用注册” 。From the portal menu, select Azure Active Directory > App registrations. 然后,选择创建的应用程序。Then select the application you created. 显示如何选择应用注册的屏幕截图。

在应用注册概述中,选择“删除”。In the app registration overview, select Delete. 显示如何删除应用注册的屏幕截图。

后续步骤Next steps

在本教程中,你将了解:In this tutorial, you learned how to:

  • 删除按照本教程创建的 Azure 资源。Delete the Azure resources created while following the tutorial.

了解如何将 .NET Core 应用Python 应用Java 应用Node.js 应用连接到数据库。Learn how to connect a .NET Core app, Python app, Java app, or Node.js app to a database.