---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute.Admin/locations/{location}/disks/{DiskId}"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute.Admin/locations/{location}/disks/{DiskId}"
tags: ["Disks"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute.Admin/locations/{location}/disks/{DiskId}

`GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute.Admin/locations/{location}/disks/{DiskId}`

Returns the disk.

## Parameters

- `../2015-12-01-preview/Compute.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../2015-12-01-preview/Compute.json#/components/parameters/LocationParameter` — unresolved $ref
- `Disks.json#/components/parameters/DiskIdParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v2/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref

## Response `200`

OK -- The disk has been returned.

- Disk — unresolved $ref

## Other responses

- `default` — Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

---

[API](https://skmtc.dev/azure/apis/computediskadminmanagementclient-2.md) · [All operations](https://skmtc.dev/azure/apis/computediskadminmanagementclient-2/llms.txt) · [OpenAPI document](https://skmtc.dev/azure/apis/computediskadminmanagementclient-2/revisions/b2508d0c76fd?raw)
