使用 Azure 入口網站管理 Azure Resource Manager 資源群組Manage Azure Resource Manager resource groups by using the Azure portal

瞭解如何搭配Azure Resource Manager使用Azure 入口網站來管理您的 Azure 資源群組。Learn how to use the Azure portal with Azure Resource Manager to manage your Azure resource groups. 若要管理 Azure 資源,請參閱使用 Azure 入口網站來管理 azure 資源For managing Azure resources, see Manage Azure resources by using the Azure portal.

關於管理資源群組的其他文章:Other articles about managing resource groups:

注意

本文提供如何從裝置或服務上刪除個人資料的步驟,而且可以用來支援 GDPR 的義務。This article provides steps for how to delete personal data from the device or service and can be used to support your obligations under the GDPR. 如果您想要尋找有關 GDPR 的一般資訊,請參閱 Service Trust 入口網站的 GDPR 區段If you’re looking for general info about GDPR, see the GDPR section of the Service Trust portal.

什麼是資源群組What is a resource group

資源群組是存放 Azure 方案相關資源的容器。A resource group is a container that holds related resources for an Azure solution. 資源群組可以包含方案的所有資源,或只包含您要以群組方式管理的資源。The resource group can include all the resources for the solution, or only those resources that you want to manage as a group. 您可決定如何根據對組織最有利的方式,將資源配置到資源群組。You decide how you want to allocate resources to resource groups based on what makes the most sense for your organization. 一般而言,會新增共用相同生命週期的資源到相同資源群組,因此您可以以群組為單位輕鬆地部署、更新、刪除它們。Generally, add resources that share the same lifecycle to the same resource group so you can easily deploy, update, and delete them as a group.

資源群組會儲存資源相關中繼資料。The resource group stores metadata about the resources. 因此,當您指定資源群組的位置時,您便是指定中繼資料的儲存位置。Therefore, when you specify a location for the resource group, you are specifying where that metadata is stored. 基於相容性理由,您可能需要確保您的資料存放在特定區域中。For compliance reasons, you may need to ensure that your data is stored in a particular region.

資源群組會儲存資源相關中繼資料。The resource group stores metadata about the resources. 當您指定資源群組的位置時,您便是指定中繼資料的儲存位置。When you specify a location for the resource group, you're specifying where that metadata is stored.

建立資源群組Create resource groups

  1. 登入 Azure 入口網站Sign in to the Azure portal.

  2. 選取資源群組Select Resource groups

    新增資源群組

  3. 選取 [新增]。Select Add.

  4. 輸入下列值:Enter the following values:

    • 訂用帳戶:選取您的 Azure 訂用帳戶。Subscription: Select your Azure subscription.

    • 資源群組:輸入新的資源組名。Resource group: Enter a new resource group name.

    • 區域:選取 Azure 位置,例如「美國中部」。Region: Select an Azure location, such as Central US.

      建立資源群組

  5. 選取 [審核] + [建立]Select Review + Create

  6. 選取 [建立]。Select Create. 建立資源群組需要幾秒鐘的時間。It takes a few seconds to create a resource group.

  7. 從頂端功能表選取 [重新整理] 以重新整理資源群組清單,然後選取新建立的資源群組以開啟它。Select Refresh from the top menu to refresh the resource group list, and then select the newly created resource group to open it. 或從頂端選取 [通知] (鐘圖示),然後選取 [移至資源群組] 以開啟新建立的資源群組Or select Notification(the bell icon) from the top, and then select Go to resource group to open the newly created resource group

    前往資源群組

列出資源群組List resource groups

  1. 登入 Azure 入口網站Sign in to the Azure portal.

  2. 若要列出資源群組,請選取 [資源群組]To list the resource groups, select Resource groups

    瀏覽資源群組

  3. 若要自訂針對資源群組顯示的資訊,請選取 [編輯資料行]。To customize the information displayed for the resource groups, select Edit columns. 下列螢幕擷取畫面顯示您可以新增至顯示的其他資料行:The following screenshot shows the addition columns you could add to the display:

開啟資源群組Open resource groups

  1. 登入 Azure 入口網站Sign in to the Azure portal.
  2. 選取 [資源群組]。Select Resource groups.
  3. 選取您想要開啟的資源群組。Select the resource group you want to open.

刪除資源群組Delete resource groups

  1. 開啟您想要刪除的資源群組。Open the resource group you want to delete. 請參閱開啟資源群組See Open resource groups.

  2. 選取 [刪除資源群組]。Select Delete resource group.

    刪除 azure 資源群組

如需 Azure Resource Manager 如何排序資源刪除的詳細資訊,請參閱Azure Resource Manager 資源群組刪除For more information about how Azure Resource Manager orders the deletion of resources, see Azure Resource Manager resource group deletion.

將資源部署至資源群組Deploy resources to a resource group

建立 Resource Manager 範本之後,您可以使用 Azure 入口網站來部署您的 Azure 資源。After you have created a Resource Manager template, you can use the Azure portal to deploy your Azure resources. 如需建立範本,請參閱快速入門:使用 Azure 入口網站建立和部署 Azure Resource Manager 範本For creating a template, see Quickstart: Create and deploy Azure Resource Manager templates by using the Azure portal. 如需使用入口網站部署範本,請參閱使用Resource Manager 範本和 Azure 入口網站部署資源For deploying a template using the portal, see Deploy resources with Resource Manager templates and Azure portal.

移至另一個資源群組或訂用帳戶Move to another resource group or subscription

您可以將群組中的資源移至另一個資源群組。You can move the resources in the group to another resource group. 如需詳細資訊,請參閱 將資源移動到新的資源群組或訂用帳戶For more information, see Move resources to new resource group or subscription.

鎖定資源群組Lock resource groups

鎖定可防止您組織中的其他使用者不小心刪除或修改重要資源,例如 Azure 訂用帳戶、資源群組或資源。Locking prevents other users in your organization from accidentally deleting or modifying critical resources, such as Azure subscription, resource group, or resource.

  1. 開啟您想要刪除的資源群組。Open the resource group you want to delete. 請參閱開啟資源群組See Open resource groups.

  2. 在左窗格中選取 [鎖定]。In the left pane, select Locks.

  3. 若要將鎖定新增至資源群組,請選取 [新增]。To add a lock to the resource group, select Add.

  4. 輸入 [鎖定名稱]、[鎖定類型] 和 [附注]。Enter Lock name, Lock type, and Notes. 鎖定類型包括 [唯讀] 和 [刪除]。The lock types include Read-only, and Delete.

    鎖定 azure 資源群組

如需詳細資訊,請參閱鎖定資源以防止非預期的變更For more information, see Lock resources to prevent unexpected changes.

標記資源群組Tag resource groups

您可以將標籤套用至資源群組和資源,以便以邏輯方式組織您的資產。You can apply tags to resource groups and resources to logically organize your assets. 如需相關資訊,請參閱使用標記來組織您的 Azure 資源For information, see Using tags to organize your Azure resources.

將資源群組匯出至範本Export resource groups to templates

如需匯出範本的詳細資訊,請參閱單一和多資源匯出至範本-入口網站For information about exporting templates, see Single and multi-resource export to template - Portal.

管理資源群組的存取權Manage access to resource groups

角色型存取控制 (RBAC) 是您管理 Azure 資源存取權的手段。Role-based access control (RBAC) is the way that you manage access to resources in Azure. 如需詳細資料,請參閱使用 RBAC 和 Azure 入口網站來管理存取權For more information, see Manage access using RBAC and the Azure portal.

後續步驟Next steps