v1

latestOpenAPI 3.1.02026-07-1213613295.5 KB
Databases

Create (MariaDB)

Create a new MariaDB database.

post/databases/mariadb

Request body

server_uuidstring required

UUID of the server

project_uuidstring required

UUID of the project

environment_namestring required

Name of the environment. You need to provide at least one of environment_name or environment_uuid.

environment_uuidstring required

UUID of the environment. You need to provide at least one of environment_name or environment_uuid.

destination_uuidstring

UUID of the destination if the server has multiple destinations

mariadb_confstring

MariaDB conf

mariadb_root_passwordstring

MariaDB root password

mariadb_userstring

MariaDB user

mariadb_passwordstring

MariaDB password

mariadb_databasestring

MariaDB database

namestring

Name of the database

descriptionstring

Description of the database

imagestring

Docker Image of the database

is_publicboolean

Is the database public?

public_portinteger

Public port of the database

public_port_timeoutinteger

Public port timeout in seconds (default: 3600)

limits_memorystring

Memory limit of the database

limits_memory_swapstring

Memory swap limit of the database

limits_memory_swappinessinteger

Memory swappiness of the database

limits_memory_reservationstring

Memory reservation of the database

limits_cpusstring

CPU limit of the database

limits_cpusetstring

CPU set of the database

limits_cpu_sharesinteger

CPU shares of the database

instant_deployboolean

Instant deploy the database

Response

Database updated