You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!--
CO_OP_TRANSLATOR_METADATA:
{
"original_hash": "5a94fbab1ba737e9bd6cc6c64f114fa0",
"translation_date": "2025-08-24T21:00:35+00:00",
"source_file": "clean-up.md",
"language_code": "tw"
}
-->
# 清理您的專案
完成每個專案後,建議刪除您的雲端資源。
在每個專案的課程中,您可能已經建立了以下一些資源:
* 資源群組 (Resource Group)
* IoT 中樞 (IoT Hub)
* IoT 裝置註冊
* 儲存帳戶 (Storage Account)
* Functions 應用程式
* Azure Maps 帳戶
* 自訂視覺專案 (Custom Vision Project)
* Azure 容器註冊表 (Azure Container Registry)
* 認知服務資源 (Cognitive Services Resource)
這些資源中的大多數不會產生費用——它們要麼完全免費,要麼您使用的是免費層級。對於需要付費層級的服務,您可能使用的是免費配額內的層級,或者只需支付幾分錢。
即使成本相對較低,完成後刪除這些資源仍然是值得的。例如,您只能有一個使用免費層級的 IoT 中樞,如果您想建立另一個,就需要使用付費層級。
所有的服務都建立在資源群組內,這使得管理更加方便。您可以刪除資源群組,該資源群組內的所有服務也會一併刪除。
要刪除資源群組,請在終端機或命令提示字元中執行以下指令:
```sh
az group delete --name <resource-group-name>
```
將 `<resource-group-name>` 替換為您感興趣的資源群組名稱。
接著會出現確認提示:
```output
Are you sure you want to perform this operation? (y/n):
```
輸入 `y` 以確認並刪除資源群組。
刪除所有服務需要一些時間。
> 💁 您可以在 [Microsoft Docs 上的 Azure 資源管理器資源群組與資源刪除文件](https://docs.microsoft.com/azure/azure-resource-manager/management/delete-resource-group?WT.mc_id=academic-17441-jabenn&tabs=azure-cli) 閱讀更多有關刪除資源群組的資訊。
** 免責聲明**:
本文件使用 AI 翻譯服務 [Co-op Translator ](https://github.com/Azure/co-op-translator ) 進行翻譯。我們致力於提供準確的翻譯,但請注意,自動翻譯可能包含錯誤或不準確之處。應以原文文件作為權威來源。對於關鍵資訊,建議尋求專業人工翻譯。我們對因使用此翻譯而引起的任何誤解或錯誤解釋概不負責。