您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

使用 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:

备注

本文介绍如何删除设备或服务中的个人数据,并且可为 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 Move 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 资源管理器锁定资源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. 若要了解如何使用仪表板,请参阅在 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