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
Name | Description | Required | Default | Pattern |
---|---|---|---|---|
filter.names |
Matches discovered clusters of specific names. | - | null | |
filter.types |
Matches discovered clusters of specific types. | - | 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. | - | null | |
filter.sourceIds |
Matches discovered clusters of specific cloud source IDs. | - | null |
29.1.1.3. Return Type
29.1.1.4. Content Type
- application/json
29.1.1.5. Responses
Code | Message | Datatype |
---|---|---|
200 | A successful response. | |
0 | An unexpected error response. |
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
Name | Description | Required | Default | Pattern |
---|---|---|---|---|
id | X | null |
29.1.2.3. Return Type
29.1.2.4. Content Type
- application/json
29.1.2.5. Responses
Code | Message | Datatype |
---|---|---|
200 | A successful response. | |
0 | An unexpected error response. |
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
Name | Description | Required | Default | Pattern |
---|---|---|---|---|
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. | - | null | |
filter.types |
Matches discovered clusters of specific types. | - | 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. | - | null | |
filter.sourceIds |
Matches discovered clusters of specific cloud source IDs. | - | null |
29.1.3.3. Return Type
29.1.3.4. Content Type
- application/json
29.1.3.5. Responses
Code | Message | Datatype |
---|---|---|
200 | A successful response. | |
0 | An unexpected error response. |