Managed Service for ClickHouse API, REST: Cluster.ListShardGroups
Retrieves a list of shard groups that belong to specified cluster.
HTTP request
GET https://mdb.api.yandexcloud.kz/managed-clickhouse/v1/clusters/{clusterId}/shardGroups
Path parameters
|
Field |
Description |
|
clusterId |
string Required field. ID of the cluster that the shard group belongs to. To get the cluster ID, make a ClusterService.List request. |
Query parameters
|
Field |
Description |
|
pageSize |
string (int64) The maximum number of results per page to return. If the number of available results is larger than |
|
pageToken |
string Page token. To get the next page of results, set |
Response
HTTP Code: 200 - OK
{
"shardGroups": [
{
"name": "string",
"clusterId": "string",
"description": "string",
"shardNames": [
"string"
]
}
],
"nextPageToken": "string"
}
|
Field |
Description |
|
shardGroups[] |
List of ClickHouse cluster's shard groups. |
|
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number of results is larger than ListClusterShardGroupsRequest.pageSize, use the |
ShardGroup
|
Field |
Description |
|
name |
string Name of the shard group. |
|
clusterId |
string ID of the ClickHouse cluster that the shard group belongs to. |
|
description |
string Description of the shard group. 0-256 characters long. |
|
shardNames[] |
string List of shard names contained in the shard group. |