---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools"
tags: ["DiskPools"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools

`GET /subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools`

Gets a list of Disk Pools in a subscription

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Operation completed successfully; retrieved diskPools by subscription

- DiskPoolListResult — List of Disk Pools
  - `value` DiskPool[], required — An array of Disk pool objects.
    - `id` string — Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    - `name` string — The name of the resource
    - `type` string — The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
  - `nextLink` string — URI to fetch the next section of the paginated response.

## Other responses

- `default` — Error from the RP

---

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