Chapter 29. Discovered Clusters Service


29.1. Discovered Clusters Service

29.1.1. CountDiscoveredClusters

GET /v1/count/discovered-clusters

CountDiscoveredClusters returns the number of discovered clusters after filtering by requested fields.

29.1.1.1. Description

29.1.1.2. Parameters

29.1.1.2.1. Query Parameters
NameDescriptionRequiredDefaultPattern

filter.names

Matches discovered clusters of specific names. String

-

null

 

filter.types

Matches discovered clusters of specific types. String

-

null

 

filter.statuses

Matches discovered clusters of specific statuses. - STATUS_UNSPECIFIED: The status of the cluster is unknown. May occur if a secured cluster is missing the metadata for a possible match. - STATUS_SECURED: The discovered cluster was matched with a secured cluster. - STATUS_UNSECURED: The discovered cluster was not matched with a secured cluster. String

-

null

 

filter.sourceIds

Matches discovered clusters of specific cloud source IDs. String

-

null

 

29.1.1.3. Return Type

V1CountDiscoveredClustersResponse

29.1.1.4. Content Type

  • application/json

29.1.1.5. Responses

Table 29.1. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V1CountDiscoveredClustersResponse

0

An unexpected error response.

GooglerpcStatus

29.1.1.6. Samples

29.1.2. GetDiscoveredCluster

GET /v1/discovered-clusters/{id}

GetDiscoveredCluster retrieves a discovered cluster by ID.

29.1.2.1. Description

29.1.2.2. Parameters

29.1.2.2.1. Path Parameters
NameDescriptionRequiredDefaultPattern

id

 

X

null

 

29.1.2.3. Return Type

V1GetDiscoveredClusterResponse

29.1.2.4. Content Type

  • application/json

29.1.2.5. Responses

Table 29.2. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V1GetDiscoveredClusterResponse

0

An unexpected error response.

GooglerpcStatus

29.1.2.6. Samples

29.1.3. ListDiscoveredClusters

GET /v1/discovered-clusters

ListDiscoveredClusters returns the list of discovered clusters after filtered by requested fields.

29.1.3.1. Description

29.1.3.2. Parameters

29.1.3.2.1. Query Parameters
NameDescriptionRequiredDefaultPattern

pagination.limit

 

-

null

 

pagination.offset

 

-

null

 

pagination.sortOption.field

 

-

null

 

pagination.sortOption.reversed

 

-

null

 

pagination.sortOption.aggregateBy.aggrFunc

 

-

UNSET

 

pagination.sortOption.aggregateBy.distinct

 

-

null

 

filter.names

Matches discovered clusters of specific names. String

-

null

 

filter.types

Matches discovered clusters of specific types. String

-

null

 

filter.statuses

Matches discovered clusters of specific statuses. - STATUS_UNSPECIFIED: The status of the cluster is unknown. May occur if a secured cluster is missing the metadata for a possible match. - STATUS_SECURED: The discovered cluster was matched with a secured cluster. - STATUS_UNSECURED: The discovered cluster was not matched with a secured cluster. String

-

null

 

filter.sourceIds

Matches discovered clusters of specific cloud source IDs. String

-

null

 

29.1.3.3. Return Type

V1ListDiscoveredClustersResponse

29.1.3.4. Content Type

  • application/json

29.1.3.5. Responses

Table 29.3. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V1ListDiscoveredClustersResponse

0

An unexpected error response.

GooglerpcStatus

29.1.3.6. Samples

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat