---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters"
tags: ["HcpOpenShiftClusters"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters

`GET /subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

List HcpOpenShiftCluster resources by subscription ID

## Parameters

- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ApiVersionParameter` (unresolved $ref)
- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/SubscriptionIdParameter` (unresolved $ref)

## Response `200`

Azure operation completed successfully.

- HcpOpenShiftClusterListResult: The response of a HcpOpenShiftCluster list operation.
  - `value` HcpOpenShiftCluster[], required: The HcpOpenShiftCluster 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/azure-red-hat-openshift-hosted-control-planes-service.md) - [All operations](https://skmtc.dev/azure/apis/azure-red-hat-openshift-hosted-control-planes-service/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/azure-red-hat-openshift-hosted-control-planes-service/revisions/807911088171?raw)
