---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/locations/{locationName}/operations/{name}"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/locations/{locationName}/operations/{name}"
tags: ["Operations"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/locations/{locationName}/operations/{name}

`GET /subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/locations/{locationName}/operations/{name}`

Get operation.

## Path parameters

- `subscriptionId` string, required
- `locationName` string, required
- `name` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK

- OperationResult — An Operation Result
  - `status` string — The operation status.
  - `statusCode` 'Continue' | 'SwitchingProtocols' | 'OK' | 'Created' | 'Accepted' | 'NonAuthoritativeInformation' | 'NoContent' | 'ResetContent' | 'PartialContent' | 'MultipleChoices' | 'Ambiguous' | 'MovedPermanently' | 'Moved' | 'Found' | 'Redirect' | 'SeeOther' | 'RedirectMethod' | 'NotModified' | 'UseProxy' | 'Unused' | 'TemporaryRedirect' | 'RedirectKeepVerb' | 'BadRequest' | 'Unauthorized' | 'PaymentRequired' | 'Forbidden' | 'NotFound' | 'MethodNotAllowed' | 'NotAcceptable' | 'ProxyAuthenticationRequired' | 'RequestTimeout' | 'Conflict' | 'Gone' | 'LengthRequired' | 'PreconditionFailed' | 'RequestEntityTooLarge' | 'RequestUriTooLong' | 'UnsupportedMediaType' | 'RequestedRangeNotSatisfiable' | 'ExpectationFailed' | 'UpgradeRequired' | 'InternalServerError' | 'NotImplemented' | 'BadGateway' | 'ServiceUnavailable' | 'GatewayTimeout' | 'HttpVersionNotSupported' — The status code for the operation.
  - `error` OperationError — Error details for the operation in case of a failure.
    - `code` string — The error code of the operation error.
    - `message` string — The error message of the operation error.

## Other responses

- `202` — Accepted
- `default` — BadRequest

## Changes

- **2021-03-09** (2018-09-15) `36d6d675eee0` — 1 info
  - added the success response with the status `202`

[Change history](https://skmtc.dev/azure/apis/devtestlabsclient/changes/subscriptions/:subscriptionId/providers/Microsoft.DevTestLab/locations/:locationName/operations/:name/get.md)

---

[API](https://skmtc.dev/azure/apis/devtestlabsclient.md) · [All operations](https://skmtc.dev/azure/apis/devtestlabsclient/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/devtestlabsclient/revisions/a1f17c27e170/schema)
