Managed Service for Redis API, REST: Cluster.GetShard
Статья создана
Обновлена 23 января 2026 г.
Returns the specified shard.
HTTP request
GET https://mdb.api.yandexcloud.kz/managed-redis/v1/clusters/{clusterId}/shards/{shardName}
Path parameters
|
Field |
Description |
|
clusterId |
string Required field. ID of the Redis cluster the shard belongs to. The maximum string length in characters is 50. |
|
shardName |
string Required field. Name of Redis shard to return. The maximum string length in characters is 63. Value must match the regular expression |
Response
HTTP Code: 200 - OK
{
"name": "string",
"clusterId": "string"
}
|
Field |
Description |
|
name |
string Name of the Redis shard. The shard name is assigned by user at creation time, and cannot be changed. |
|
clusterId |
string ID of the Redis cluster the shard belongs to. The ID is assigned by MDB at creation time. |