---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/diagnostics/diskInspection"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/diagnostics/diskInspection"
tags: ["diagnostics_DiskInspection"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/diagnostics/diskInspection

`GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/diagnostics/diskInspection`

Gets a specific Compute diagnostic for a subscription in a location.

## Parameters

- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/LocationParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref

## Response `200`

Success

- ComputeDiagnosticBase — unresolved $ref

## Other responses

- `default` — Error response describing why the get call failed.

## Changes

- **2026-07-13** (2021-06-01-preview) `dd5e6edf6915` — 2 warning
  - deleted the `path` request parameter `location`
  - deleted the `path` request parameter `subscriptionId`
- **2026-07-13** (2021-06-01-preview) `4ae6d5ecd25e` — 2 breaking
  - added the new path request parameter `location`
  - added the new path request parameter `subscriptionId`

[Change history](https://skmtc.dev/azure/apis/compute-microsoft-compute-diagnostic/changes/subscriptions/:subscriptionId/providers/Microsoft.Compute/locations/:location/diagnostics/diskInspection/get.md)

---

[API](https://skmtc.dev/azure/apis/compute-microsoft-compute-diagnostic.md) · [All operations](https://skmtc.dev/azure/apis/compute-microsoft-compute-diagnostic/llms.txt) · [OpenAPI document](https://skmtc.dev/azure/apis/compute-microsoft-compute-diagnostic/revisions/ca0ab3d38101?raw)
