Path parameters
-
Service name
Minimum length is
0
, maximum length is63
.
Body Required
-
maintenance object
Automatic maintenance settings
Additional properties are allowed.
-
plan string
Subscription plan
Minimum length is
1
, maximum length is128
. -
termination-protection boolean
Service is protected against termination and powering off
-
ip-filter array[string]
Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'
-
migration object
Migrate data from existing server
Additional properties are allowed.
-
redis-settings object
Redis-specific settings
Additional properties are allowed.
PUT /dbaas-redis/{name}
curl \
-X PUT https://api-ch-gva-2.exoscale.com/v2/dbaas-redis/{name} \
-H "Content-Type: application/json" \
-d '{"maintenance":{"dow":"saturday","time":"string"},"plan":"string","termination-protection":true,"ip-filter":["string"],"migration":{"host":"string","port":42,"password":"string","ssl":true,"username":"string","dbname":"string","ignore-dbs":"string","method":"dump"},"redis-settings":{"ssl":true,"lfu_log_factor":10,"maxmemory_policy":"noeviction","io_threads":1,"lfu_decay_time":1,"pubsub_client_output_buffer_limit":64,"notify_keyspace_events":"","persistence":"off","timeout":300,"acl_channels_default":"allchannels","number_of_databases":16}}'
Request examples
{
"maintenance": {
"dow": "saturday",
"time": "string"
},
"plan": "string",
"termination-protection": true,
"ip-filter": [
"string"
],
"migration": {
"host": "string",
"port": 42,
"password": "string",
"ssl": true,
"username": "string",
"dbname": "string",
"ignore-dbs": "string",
"method": "dump"
},
"redis-settings": {
"ssl": true,
"lfu_log_factor": 10,
"maxmemory_policy": "noeviction",
"io_threads": 1,
"lfu_decay_time": 1,
"pubsub_client_output_buffer_limit": 64,
"notify_keyspace_events": "",
"persistence": "off",
"timeout": 300,
"acl_channels_default": "allchannels",
"number_of_databases": 16
}
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}