Path parameters
-
name string Required
Service name
Minimum length is
0
, maximum length is63
.
Body Required
-
maintenance object
Automatic maintenance settings
-
plan string Required
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.conf 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":{},"fork-from-service":"string","recovery-backup-name":"string"}'
Request example
{
"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": {},
"fork-from-service": "string",
"recovery-backup-name": "string"
}
Response example (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}