Managed Service for Redis API, gRPC: ClusterService.GetShard
Статья создана
Обновлена 26 ноября 2024 г.
Returns the specified shard.
gRPC request
rpc GetShard (GetClusterShardRequest) returns (Shard)
GetClusterShardRequest
{
"cluster_id": "string",
"shard_name": "string"
}
Field |
Description |
cluster_id |
string Required field. ID of the Redis cluster the shard belongs to. |
shard_name |
string Required field. Name of Redis shard to return. |
Shard
{
"name": "string",
"cluster_id": "string"
}
Field |
Description |
name |
string Name of the Redis shard. The shard name is assigned by user at creation time, and cannot be changed. |
cluster_id |
string ID of the Redis cluster the shard belongs to. The ID is assigned by MDB at creation time. |