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
-
fork-from-service string
Service name
Minimum length is
0
, maximum length is63
. -
grafana-settings object
Grafana specific settings
-
ip-filter array[string]
Allowed CIDR address blocks for incoming connections
POST /dbaas-grafana/{name}
curl \
-X POST https://api-ch-gva-2.exoscale.com/v2/dbaas-grafana/{name} \
-H "Content-Type: application/json" \
-d '{"maintenance":{"dow":"saturday","time":"string"},"plan":"string","termination-protection":true,"fork-from-service":"string","grafana-settings":{},"ip-filter":["string"]}'
Request example
{
"maintenance": {
"dow": "saturday",
"time": "string"
},
"plan": "string",
"termination-protection": true,
"fork-from-service": "string",
"grafana-settings": {},
"ip-filter": [
"string"
]
}
Response example (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}