Path parameters
-
Service name
Minimum length is
0
, maximum length is63
.
Body Required
-
maintenance object
Automatic maintenance settings
-
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
-
redis-settings object
Redis-specific settings
-
fork-from-service string
Service name
Minimum length is
0
, maximum length is63
. -
recovery-backup-name string
Name of a backup to recover from for services that support backup names
Minimum length is
1
.
POST /dbaas-redis/{name}
curl \
-X POST 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},"fork-from-service":"string","recovery-backup-name":"string"}'
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
},
"fork-from-service": "string",
"recovery-backup-name": "string"
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}