Authorizations
Token API are generated by Qovery to manage machine to machine interaction and do not have a TTL. Prefix your token with "Token ". Curl Example: curl https://console.qovery.com/organization -H "Authorization: Token $qovery_token"
Path Parameters
Database ID
Body
name is case-insensitive
give a description to this database
"10.1"
PRIVATE, PUBLIC unit is millicores (m). 1000m = 1 cpu. This field will be ignored for managed DB (instance type will be used instead).
1250
unit is MB. 1024 MB = 1GB This field will be ignored for managed DB (instance type will be used instead). Default value is linked to the database type:
- MANAGED: 100
- CONTAINER
- POSTGRES: 100
- REDIS: 100
- MYSQL: 512
- MONGODB: 256
1024
unit is GB
4
Database instance type to be used for this database. The list of values can be retrieved via the endpoint /{CloudProvider}/managedDatabase/instanceType/{region}/{dbType}. This field SHOULD NOT be set for container DB.
"db.t3.medium"
Icon URI representing the database.
Response
Edit a database
name is case insensitive
MONGODB, MYSQL, POSTGRESQL, REDIS "10.1"
CONTAINER, MANAGED Icon URI representing the database.
type of the service (application, database, job, ...)
APPLICATION, DATABASE, CONTAINER, JOB, HELM, TERRAFORM give a description to this database
PRIVATE, PUBLIC unit is millicores (m). 1000m = 1 cpu This field will be ignored for managed DB (instance type will be used instead).
1250
Database instance type to be used for this database. The list of values can be retrieved via the endpoint /{CloudProvider}/managedDatabase/instanceType/{region}/{dbType}. This field SHOULD NOT be set for container DB. Database instance type to be used for this database. The list of values can be retrieved via the endpoint /{CloudProvider}/managedDatabase/instanceType/{region}/{dbType}. This field is null for container DB.
"db.t3.medium"
unit is MB. 1024 MB = 1GB This field will be ignored for managed DB (instance type will be used instead). Default value is linked to the database type:
- MANAGED:
100 - CONTAINER
- POSTGRES:
100 - REDIS:
100 - MYSQL:
512 - MONGODB:
256
- POSTGRES:
1024
unit is GB
5432
Maximum cpu that can be allocated to the database based on organization cluster configuration. unit is millicores (m). 1000m = 1 cpu
1250
Maximum memory that can be allocated to the database based on organization cluster configuration. unit is MB. 1024 MB = 1GB
1024
indicates if the database disk is encrypted or not