You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/resource-manager-deployment-operations.md
+15-9Lines changed: 15 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Azure Resource Manager enables you to view your deployment history and examine s
11
11
12
12
For help with resolving particular deployment errors, see [Resolve common errors when deploying resources to Azure with Azure Resource Manager](resource-manager-common-deployment-errors.md).
13
13
14
-
## Get deployments
14
+
## Get deployments and correlation ID
15
15
16
16
To get details about a deployment from the deployment history use portal, PowerShell, Azure CLI, or REST API.
17
17
@@ -39,7 +39,7 @@ To list all deployments for a resource group, use the [Get-AzResourceGroupDeploy
@@ -65,21 +65,27 @@ To get a specific deployment, use the [azure group deployment show](/cli/azure/g
65
65
az group deployment show --resource-group ExampleGroup --name ExampleDeployment
66
66
```
67
67
68
-
The correlation ID is used to track related events, and can be helpful when working with technical support to troubleshoot a deployment.
68
+
The correlation ID is used to track related events. It can be helpful when working with technical support to troubleshoot a deployment. To get the correlation ID, use:
69
69
70
70
```azurecli-interactive
71
-
az group deployment show -g ExampleGroup -n ExampleDeployment --query properties.correlationId
71
+
az group deployment show --resource-group ExampleGroup --name ExampleDeployment --query properties.correlationId
72
72
```
73
73
74
74
# [HTTP](#tab/http)
75
75
76
-
The following example shows how to get information about a deployment. For documentation about the latest API version, see the [Deployments - Get](/rest/api/resources/deployments/get) operation.
76
+
To list the deployments for a resource group, use the [Deployments - List By Resource Group](/rest/api/resources/deployments/listbyresourcegroup) operation.
77
+
78
+
```
79
+
GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/?api-version={api-version}
80
+
```
81
+
82
+
To get a specific deployment. use the [Deployments - Get](/rest/api/resources/deployments/get) operation.
77
83
78
84
```
79
85
GET https://management.azure.com/subscriptions/{subscription-id}/resourcegroups/{resource-group-name}/providers/microsoft.resources/deployments/{deployment-name}?api-version={api-version}
80
86
```
81
87
82
-
In the response, note in particular the **provisioningState**, **correlationId**, and **error** elements. The **correlationId**is used to track related events, and can be helpful when working with technical support to troubleshoot a deployment.
88
+
The response includes the correlation ID, which is used to track related events. It can be helpful when working with technical support to troubleshoot a deployment.
83
89
84
90
```json
85
91
{
@@ -104,13 +110,13 @@ To get details about a deployment from the deployment history use portal, PowerS
104
110
105
111
# [Portal](#tab/azure-portal)
106
112
107
-
1.To see deployment operations, select **Operation details**.
113
+
1.On the summary for a deployment, select **Operation details**.
0 commit comments