使用 Azure 门户管理 Azure 资源Manage Azure resources by using the Azure portal

了解如何将 Azure 门户Azure 资源管理器配合使用来管理 Azure 资源。Learn how to use the Azure portal with Azure Resource Manager to manage your Azure resources. 若要管理资源组,请参阅使用 Azure 门户管理 Azure 资源组For managing resource groups, see Manage Azure resource groups by using the Azure portal.

有关资源管理的其他文章:Other articles about managing resources:

Note

本文介绍如何删除设备或服务中的个人数据,并且可为 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 的常规信息,请参阅服务信任门户的 GDPR 部分If you're looking for general info about GDPR, see the GDPR section of the Service Trust portal.

将资源部署到资源组Deploy resources to a resource group

创建资源管理器模板后,可以使用 Azure 门户部署 Azure 资源。After you have created a Resource Manager template, you can use the Azure portal to deploy your Azure resources. 有关如何创建模板,请参阅快速入门:使用 Azure 门户创建和部署 Azure 资源管理器模板For creating a template, see Quickstart: Create and deploy Azure Resource Manager templates by using the Azure portal. 有关如何使用门户部署模板,请参阅使用资源管理器模板和 Azure 门户部署资源For deploying a template using the portal, see Deploy resources with Resource Manager templates and Azure portal.

打开资源Open resources

Azure 资源按 Azure 服务和资源组进行组织。Azure resources are organized by Azure services and by resource groups. 以下过程说明如何打开名为 mystorage0207 的存储帐户。The following procedures shows how to open a storage account called mystorage0207. 虚拟机驻留在名为 mystorage0207rg 的资源组中。The virtual machine resides in a resource group called mystorage0207rg.

按服务类型打开资源:To open a resource by the service type:

  1. 登录到 Azure 门户Sign in to the Azure portal.

  2. 在左窗格中选择 Azure 服务。In the left pane, select the Azure service. 在本例中,请选择“存储帐户”。In this case, Storage accounts. 如果该服务未列出,请选择“所有服务”,然后选择服务类型。If you don't see the service listed, select All services, and then select the service type.

    在门户中打开 Azure 资源

  3. 选择要打开的资源。Select the resource you want to open.

    在门户中打开 Azure 资源

    存储帐户类似于:A storage account looks like:

    在门户中打开 Azure 资源

按资源组打开资源:To open a resource by resource group:

  1. 登录到 Azure 门户Sign in to the Azure portal.
  2. 在左窗格中,选择“资源组”列出该组中的资源。In the left pane, select Resource groups to list the resource within the group.
  3. 选择要打开的资源。Select the resource you want to open.

管理资源Manage resources

在门户中查看某一资源时,可以看到用于管理该特定资源的选项。When viewing a resource in the portal, you see the options for managing that particular resource.

管理 Azure 资源

屏幕截图显示了 Azure 虚拟机的管理选项。The screenshot shows the management options for an Azure virtual machine. 可以执行启动、重启和停止虚拟机等操作。You can perform operations such as starting, restarting, and stopping a virtual machine.

删除资源Delete resources

  1. 在门户中打开资源。Open the resource in the portal. 有关步骤,请参阅打开资源For the steps, see Open resources.

  2. 选择“删除” 。Select Delete. 以下屏幕截图显示了虚拟机的管理选项。The following screenshot shows the management options for a virtual machine.

    删除 Azure 资源

  3. 键入资源名称以确认删除,然后选择“删除”。Type the name of the resource to confirm the deletion, and then select Delete.

若要详细了解 Azure 资源管理器如何控制资源的删除,请参阅 Azure 资源管理器资源组的删除For more information about how Azure Resource Manager orders the deletion of resources, see Azure Resource Manager resource group deletion.

移动资源Move resources

  1. 在门户中打开资源。Open the resource in the portal. 有关步骤,请参阅打开资源For the steps, see Open resources.

  2. 选择“移动”。Select Move. 以下屏幕截图显示了存储帐户的管理选项。The following screenshot shows the management options for a storage account.

    移动 Azure 资源

  3. 根据需要选择“移到另一资源组”或“移到另一订阅”。Select Move to another resource group or Moeve to another subscription depending on your needs.

有关详细信息,请参阅将资源移到新资源组或订阅For more information, see Move resources to new resource group or subscription.

锁定资源Lock resources

锁定可以防止组织中的其他用户意外删除或修改关键资源,例如 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 in the portal. 有关步骤,请参阅打开资源For the steps, see Open resources.

  2. 选择“锁定”。Select Locks. 以下屏幕截图显示了存储帐户的管理选项。The following screenshot shows the management options for a storage account.

    锁定 Azure 资源

  3. 选择“添加”,然后指定锁定属性。Select Add, and then specify the lock properties.

更多信息请参阅 使用 Azure Resource Manager 锁定资源For more information, see Lock resources with Azure Resource Manager.

标记资源Tag resources

标记有助于按逻辑方式组织资源组和资源。Tagging helps organizing your resource group and resources logically.

  1. 在门户中打开资源。Open the resource in the portal. 有关步骤,请参阅打开资源For the steps, see Open resources.

  2. 选择“标记”。Select Tags. 以下屏幕截图显示了存储帐户的管理选项。The following screenshot shows the management options for a storage account.

    标记 Azure 资源

  3. 指定标记属性,然后选择“保存”。Specify the tag properties, and then select Save.

有关信息,请参阅使用标记组织 Azure 资源For information, see Using tags to organize your Azure resources.

监视资源Monitor resources

打开某个资源时,门户会显示用于监视该资源类型的默认图形和表。When you open a resource, the portal presents default graphs and tables for monitoring that resource type. 以下屏幕截图显示了虚拟机的图形:The following screenshot shows the graphs for a virtual machine:

监视 Azure 资源

可以选择图形右上角的图钉图标,将图形固定到仪表板。You can select the pin icon on the upper right corner of the graphs to pin the graph to the dashboard. 若要了解如何使用仪表板,请参阅 Creating and sharing dashboards in the Azure portal(在 Azure 门户中创建和共享仪表板)。To learn about working with dashboards, see Creating and sharing dashboards in the Azure portal.

管理对资源的访问Manage access to resources

可以在 Azure 中通过基于角色的访问控制 (RBAC) 这种方式管理对资源的访问。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