Database Integrations
Service integrations allow you to connect Managed Database services to external services for logging, metrics, and data pipelines. Integration endpoints define the external service connection details.
List integrations
Returns a list of integrations for a Managed Database service.
Request
curl -X GET https://api.upcloud.com/1.3/database/09a4b9d5-c1f8-4c9f-9e7a-1234567890ab/integrations \
-u your_username:your_password
Get integration details
Returns details of a specific integration.
Request
curl -X GET https://api.upcloud.com/1.3/database/09a4b9d5-c1f8-4c9f-9e7a-1234567890ab/integrations/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
-u your_username:your_password
Create integration
Creates a new integration for a Managed Database service.
Attributes
- Name
integration_type- Type
- string
- Description
Type of integration: "datadog", "prometheus", etc.
- Name
dest_endpoint_id- Type
- string
- Description
UUID of the destination integration endpoint.
Request
curl -X POST https://api.upcloud.com/1.3/database/09a4b9d5-c1f8-4c9f-9e7a-1234567890ab/integrations \
-u your_username:your_password \
-H "Content-Type: application/json" \
-d '{
"integration_type": "datadog",
"dest_endpoint_id": "b2c3d4e5-f6a7-8901-bcde-f23456789012"
}'
Modify integration
Modifies an existing integration.
Attributes
- Name
active- Type
- boolean
- Description
Enable or disable the integration.
Request
curl -X PATCH https://api.upcloud.com/1.3/database/09a4b9d5-c1f8-4c9f-9e7a-1234567890ab/integrations/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
-u your_username:your_password \
-H "Content-Type: application/json" \
-d '{
"active": false
}'
Delete integration
Deletes an integration from a Managed Database service.
Request
curl -X DELETE https://api.upcloud.com/1.3/database/09a4b9d5-c1f8-4c9f-9e7a-1234567890ab/integrations/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
-u your_username:your_password
List integration endpoints
Returns a list of all integration endpoints in the account.
Request
curl -X GET https://api.upcloud.com/1.3/database/integration-endpoints \
-u your_username:your_password
Get endpoint details
Returns details of a specific integration endpoint.
Request
curl -X GET https://api.upcloud.com/1.3/database/integration-endpoints/b2c3d4e5-f6a7-8901-bcde-f23456789012 \
-u your_username:your_password
Create endpoint
Creates a new integration endpoint.
Attributes
- Name
endpoint_name- Type
- string
- Description
Name for the endpoint (1-64 characters).
- Name
endpoint_type- Type
- string
- Description
Type of endpoint: "datadog", "prometheus", "rsyslog", etc.
- Name
endpoint_config- Type
- object
- Description
Configuration specific to the endpoint type.
Request
curl -X POST https://api.upcloud.com/1.3/database/integration-endpoints \
-u your_username:your_password \
-H "Content-Type: application/json" \
-d '{
"endpoint_name": "my-datadog-endpoint",
"endpoint_type": "datadog",
"endpoint_config": {
"datadog_api_key": "your-datadog-api-key",
"site": "datadoghq.com"
}
}'
Modify endpoint
Modifies an existing integration endpoint.
Attributes
- Name
endpoint_name- Type
- string
- Description
New name for the endpoint.
- Name
endpoint_config- Type
- object
- Description
Updated configuration.
Request
curl -X PATCH https://api.upcloud.com/1.3/database/integration-endpoints/b2c3d4e5-f6a7-8901-bcde-f23456789012 \
-u your_username:your_password \
-H "Content-Type: application/json" \
-d '{
"endpoint_name": "updated-datadog-endpoint"
}'
Delete endpoint
Deletes an integration endpoint. The endpoint must not be in use by any integrations.
Request
curl -X DELETE https://api.upcloud.com/1.3/database/integration-endpoints/b2c3d4e5-f6a7-8901-bcde-f23456789012 \
-u your_username:your_password