Managed Service for Redis API, gRPC: ClusterService.GetShard
Статья создана
Обновлена 17 октября 2024 г.
Returns the specified shard.
gRPC request
rpc GetShard (GetClusterShardRequest) returns (Shard)
GetClusterShardRequest
{
"clusterId": "string",
"shardName": "string"
}
Field |
Description |
clusterId |
string Required field. ID of the Redis cluster the shard belongs to. |
shardName |
string Required field. Name of Redis shard to return. |
Shard
{
"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. |