Managed Service for ClickHouse API, gRPC: ClusterService.GetShardGroup
Статья создана
Обновлена 17 октября 2024 г.
Returns the specified shard group.
gRPC request
rpc GetShardGroup (GetClusterShardGroupRequest) returns (ShardGroup)
GetClusterShardGroupRequest
{
"clusterId": "string",
"shardGroupName": "string"
}
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. |
shardGroupName |
string Required field. Name of the shard group to request information about. To get the name of a shard group, make a ClusterService.ListShardGroups request. |
ShardGroup
{
"name": "string",
"clusterId": "string",
"description": "string",
"shardNames": [
"string"
]
}
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. |