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

查看 Azure 资源管理器的部署历史记录View deployment history with Azure Resource Manager

Azure 资源管理器使你能够查看部署历史记录并检查过去部署中的特定操作。Azure Resource Manager enables you to view your deployment history and examine specific operations in past deployments. 你可以查看已部署的资源,并获取有关任何错误的信息。You can see the resources that were deployed, and get information about any errors.

有关解决特定部署错误的帮助,请参阅解决使用 Azure 资源管理器将资源部署到 Azure 时的常见错误For help with resolving particular deployment errors, see Resolve common errors when deploying resources to Azure with Azure Resource Manager.

获取部署和相关性 IDGet deployments and correlation ID

可以通过 Azure 门户、PowerShell、Azure CLI 或 REST API 查看有关部署的详细信息。You can view details about a deployment through the Azure portal, PowerShell, Azure CLI, or REST API. 每个部署都有一个相关 ID,用于跟踪相关事件。Each deployment has a correlation ID, which is used to track related events. 与技术支持人员合作排查部署问题时,此方法非常有用。It can be helpful when working with technical support to troubleshoot a deployment.

  1. 选择要检查的资源组。Select the resource group you want to examine.

  2. 选择 "部署" 下的链接。Select the link under Deployments.

    选择部署历史记录

  3. 从部署历史记录中选择一个部署。Select one of the deployments from the deployment history.

    选择部署

  4. 将显示部署的摘要,包括相关 ID。A summary of the deployment is displayed, including the correlation ID.

    部署摘要

获取部署操作和错误消息Get deployment operations and error message

每个部署可包含多个操作。Each deployment can include multiple operations. 若要查看有关部署的更多详细信息,请查看部署操作。To see more details about a deployment, view the deployment operations. 部署失败时,部署操作将包含一条错误消息。When a deployment fails, the deployment operations include an error message.

  1. 在 "部署摘要" 中,选择 "操作详细信息"。On the summary for a deployment, select Operation details.

    选择部署操作

  2. 你将看到该部署步骤的详细信息。You see the details for that step of the deployment. 出现错误时,详细信息包含错误消息。When an error occurs, the details include the error message.

    显示操作详细信息

后续步骤Next steps