Managed Service for MongoDB 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 MongoDB cluster that the shard belongs to. |
shard_name |
string Required field. Name of the MongoDB shard to return. |
Shard
{
"name": "string",
"cluster_id": "string"
}
Field |
Description |
name |
string Name of the shard. |
cluster_id |
string ID of the cluster that the shard belongs to. |