Managed Service for MongoDB API, gRPC: ClusterService.GetShard
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 StoreDoc cluster that the shard belongs to. The maximum string length in characters is 50. |
|
shard_name |
string Required field. Name of the StoreDoc shard to return. The maximum string length in characters is 63. Value must match the regular expression |
Shard
{
"name": "string",
"cluster_id": "string",
"is_ha": "bool"
}
|
Field |
Description |
|
name |
string Name of the shard. |
|
cluster_id |
string ID of the cluster that the shard belongs to. |
|
is_ha |
bool Indicates whether the shard topology is highly available as defined by the Yandex Cloud SLA for managed databases. |