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
+18-35Lines changed: 18 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,11 +11,11 @@ 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 deployment
14
+
## Get deployments
15
15
16
16
To get details about a deployment from the deployment history use portal, PowerShell, Azure CLI, or REST API.
17
17
18
-
#### [Browser](#tab/browser)
18
+
#[Portal](#tab/azure-portal)
19
19
20
20
1. Select the resource group you want to examine.
21
21
@@ -31,15 +31,15 @@ To get details about a deployment from the deployment history use portal, PowerS
To list all deployments for a resource group, use the [Get-AzResourceGroupDeployment](/powershell/module/az.resources/Get-AzResourceGroupDeployment) command.
To get the overall status of a deployment, use the **azure group deployment show** command.
56
+
To list the deployment for a resource group, use [az group deployment list](/cli/azure/group/deployment).
57
57
58
58
```azurecli-interactive
59
-
az group deployment show -g ExampleGroup -n ExampleDeployment
59
+
az group deployment list --resource-group ExampleGroup
60
+
```
61
+
62
+
To get a specific deployment, use the [azure group deployment show](/cli/azure/group/deployment).
63
+
64
+
```azurecli-interactive
65
+
az group deployment show --resource-group ExampleGroup --name ExampleDeployment
60
66
```
61
67
62
68
The correlation ID is used to track related events, and can be helpful when working with technical support to troubleshoot a deployment.
@@ -65,7 +71,7 @@ The correlation ID is used to track related events, and can be helpful when work
65
71
az group deployment show -g ExampleGroup -n ExampleDeployment --query properties.correlationId
66
72
```
67
73
68
-
####[HTTP](#tab/http)
74
+
# [HTTP](#tab/http)
69
75
70
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.
71
77
@@ -96,7 +102,7 @@ In the response, note in particular the **provisioningState**, **correlationId**
96
102
97
103
To get details about a deployment from the deployment history use portal, PowerShell, Azure CLI, or REST API.
98
104
99
-
#### [Browser](#tab/browser)
105
+
#[Portal](#tab/azure-portal)
100
106
101
107
1. To see deployment operations, select **Operation details**.
102
108
@@ -106,24 +112,23 @@ To get details about a deployment from the deployment history use portal, PowerS
Each deployment includes multiple operations. Each operation represents a step in the deployment process. To discover what went wrong with a deployment, you usually need to see details about the deployment operations. You can see the status of the operations with **Get-AzResourceGroupDeploymentOperation**.
az group deployment operation list -g ExampleGroup -n ExampleDeployment
124
129
```
125
130
126
-
####[HTTP](#tab/http)
131
+
# [HTTP](#tab/http)
127
132
128
133
The following example shows how to get deployment operations. For documentation about the latest API version, see the [Deployment Operations - List](/rest/api/resources/deploymentoperations/list) operation.
129
134
@@ -160,19 +165,6 @@ The response includes request and/or response information based on what you spec
160
165
161
166
---
162
167
163
-
## Portal
164
-
165
-
166
-
1. If your deployment failed, you see an error message. Select the error message for more details.
DnsRecordInUse DNS record dns.westus.cloudapp.azure.com is already used by another public IP. {}
217
209
```
218
210
219
-
Every deployment operation in Azure includes request and response content. During deployment, you can use **DeploymentDebugLogLevel** parameter to specify that the request and/or response are logged.
220
-
221
-
You get that information from the log, and save it locally by using the following PowerShell commands:
0 commit comments