---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2"
tags: ["Clusters"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2

`GET /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2`

Lists all clusters in a subscription.

## Parameters

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

## Response `200`

Azure operation completed successfully.

- ClusterListResult — The response of a Cluster list operation.
  - `value` Cluster[], required — The Cluster items on this page — unresolved $ref
  - `nextLink` string, uri — The link to the next page of items

## Other responses

- `default` — An unexpected error response.

---

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