[BETA] Create a new DBaaS connection between a DBaaS service and an external service
[BETA] Create a new DBaaS connection between a DBaaS service and an external service
PUT
/dbaas-external-endpoint/{source-service-name}/attach
curl \
--request PUT 'https://api-ch-gva-2.exoscale.com/v2/dbaas-external-endpoint/{source-service-name}/attach' \
--header "Content-Type: application/json" \
--data '{"dest-endpoint-id":"string","type":"prometheus"}'
Request examples
{
"dest-endpoint-id": "string",
"type": "prometheus"
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}