---
title: "GET /providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}"
method: GET
path: "/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}"
tags: ["DeploymentOperations"]
---

# GET /providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}

`GET /providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}`

Gets a deployments operation.

## Path parameters

- `deploymentName` string, required
- `operationId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK - Returns information about the deployment operation.

- DeploymentOperation — Deployment operation information.
  - `id` string — Full deployment operation ID.
  - `operationId` string — Deployment operation ID.
  - `properties` DeploymentOperationProperties — Deployment operation properties.
    - `provisioningState` string — The state of the provisioning.
    - `timestamp` string, date-time — The date and time of the operation.
    - `duration` string — The duration of the operation.
    - `serviceRequestId` string — Deployment operation service request id.
    - `statusCode` string — Operation status code.
    - `statusMessage` object — Operation status message.
    - `targetResource` TargetResource — Target resource.
      - `id` string — The ID of the resource.
      - `resourceName` string — The name of the resource.
      - `resourceType` string — The type of the resource.
    - `request` HttpMessage — HTTP message.
      - `content` object — HTTP message content.
    - `response` HttpMessage — HTTP message.
      - `content` object — HTTP message content.

## Other responses

- `default` — Error response describing why the operation failed.

---

[API](https://skmtc.net/azure/apis/resourcemanagementclient.md) · [All operations](https://skmtc.net/azure/apis/resourcemanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/resourcemanagementclient/versions/917e67faecf0/schema)
