assign_public_ip |
Sets whether the host should get a public IP address or not |
bool |
false |
no |
client_output_buffer_limit_normal |
Normal clients output buffer limits (bytes) |
string |
"1073741824 536870912 60" |
no |
client_output_buffer_limit_pubsub |
Pubsub clients output buffer limits (bytes) |
string |
"1073741824 536870912 60" |
no |
databases |
Number of databases (changing requires redis-server restart) |
number |
16 |
no |
day |
Day of week for maintenance window if window type is weekly |
string |
"MON" |
no |
deletion_protection |
Inhibits deletion of the cluster |
bool |
false |
no |
description |
Description of the Redis cluster |
string |
"Redis cluster" |
no |
disk_size |
Volume of the storage available to a host, in gigabytes |
number |
16 |
no |
disk_type_id |
Type of the storage of Redis hosts - environment default is used if missing |
string |
"network-ssd" |
no |
environment |
Deployment environment of the Redis cluster. Can be either PRESTABLE or PRODUCTION |
string |
"PRODUCTION" |
no |
folder_id |
The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used |
string |
null |
no |
hosts |
Redis hosts definition |
map(object({ zone = string subnet_id = string })) |
{ "host1": { "subnet_id": "", "zone": "ru-central1-a" }, "host2": { "subnet_id": "", "zone": "ru-central1-a" } } |
no |
hour |
Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly |
number |
24 |
no |
maxmemory_policy |
Redis key eviction policy for a dataset that reaches maximum memory. See https://docs.redis.com/latest/rs/databases/memory-performance/eviction-policy/ |
string |
"NOEVICTION" |
no |
name |
Name of the Redis cluster |
string |
n/a |
yes |
network_id |
ID of the network, to which the Redis cluster belongs |
string |
n/a |
yes |
notify_keyspace_events |
Select the events that Redis will notify among a set of classes |
string |
"" |
no |
password |
Password for the Redis cluster |
string |
n/a |
yes |
persistence_mode |
Persistence mode. Must be one of OFF or ON |
string |
"ON" |
no |
redis_version |
Version of Redis |
string |
"6.2" |
no |
replica_priority |
Replica priority of a current replica (usable for non-sharded only) |
any |
null |
no |
resource_preset_id |
The ID of the preset for computational resources available to a host (CPU, memory etc.) |
string |
"hm3-c2-m8" |
no |
security_group_ids |
A set of ids of security groups assigned to hosts of the cluster |
list(string) |
[] |
no |
sharded |
Redis Cluster mode enabled/disabled |
bool |
false |
no |
slowlog_log_slower_than |
Log slow queries below this number in microseconds |
number |
10000 |
no |
slowlog_max_len |
Slow queries log length |
number |
1000 |
no |
subnet_id |
The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs |
string |
null |
no |
timeout |
Close the connection after a client is idle for N seconds |
number |
0 |
no |
tls_enabled |
TLS support mode enabled/disabled |
bool |
false |
no |
type |
Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window |
string |
"ANYTIME" |
no |
zone |
The availability zone where the Redis host will be created. See https://cloud.yandex.com/en/docs/overview/concepts/geo-scope |
string |
n/a |
yes |