Managed Service for Redis API, REST: Cluster.getShard
Returns the specified shard.
HTTP request
GET https://mdb.api.cloud.yandex.net/managed-redis/v1/clusters/{clusterId}/shards/{shardName}
Path parameters
Parameter | Description |
---|---|
clusterId | Required. ID of the Redis cluster the shard belongs to. To get the cluster ID use a list request. The maximum string length in characters is 50. |
shardName | Required. Name of Redis shard to return. To get the shard name use a listShards request. 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. 1-63 characters long. |
clusterId | string ID of the Redis cluster the shard belongs to. The ID is assigned by MDB at creation time. |