DBaaS Mysql
MySQL, the popular open-source, object-relational database.
create-dbaas-mysql-database
Create a DBaaS MySQL database
POST /dbaas-mysql/{service-name}/databasenull
Path parameters
service-nameinpath(required)
Request body
application/jsondatabase-name(required) (string)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for create-dbaas-mysql-database: golang | Python | Java
CLI: exo api create-dbaas-mysql-database
delete-dbaas-mysql-database
Delete a DBaaS MySQL database
DELETE /dbaas-mysql/{service-name}/database/{database-name}null
Path parameters
service-nameinpath(required)database-nameinpath(required)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for delete-dbaas-mysql-database: golang | Python | Java
CLI: exo api delete-dbaas-mysql-database
create-dbaas-mysql-user
Create a DBaaS MySQL user
POST /dbaas-mysql/{service-name}/usernull
Path parameters
service-nameinpath(required)
Request body
application/jsonusername(required) (string)authentication(string)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for create-dbaas-mysql-user: golang | Python | Java
CLI: exo api create-dbaas-mysql-user
delete-dbaas-mysql-user
Delete a DBaaS MySQL user
DELETE /dbaas-mysql/{service-name}/user/{username}null
Path parameters
service-nameinpath(required)usernameinpath(required)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for delete-dbaas-mysql-user: golang | Python | Java
CLI: exo api delete-dbaas-mysql-user
reveal-dbaas-mysql-user-password
Reveal the secrets of a DBaaS MySQL user
GET /dbaas-mysql/{service-name}/user/{username}/password/revealnull
Path parameters
service-nameinpath(required)usernameinpath(required)
Responses
200: 200application/jsonusername(string): MySQL usernamepassword(string): MySQL password
SDK reference for reveal-dbaas-mysql-user-password: golang | Python | Java
CLI: exo api reveal-dbaas-mysql-user-password
reset-dbaas-mysql-user-password
Reset the credentials of a DBaaS mysql user
PUT /dbaas-mysql/{service-name}/user/{username}/password/resetIf no password is provided one will be generated automatically.
Path parameters
service-nameinpath(required)usernameinpath(required)
Request body
application/jsonpassword(string)authentication(string)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for reset-dbaas-mysql-user-password: golang | Python | Java
CLI: exo api reset-dbaas-mysql-user-password
create-dbaas-service-mysql
Create a DBaaS MySQL service
POST /dbaas-mysql/{name}Create a DBaaS MySQL service
Path parameters
nameinpath(required)
Request body
application/jsonbackup-schedule(object) - schema detailsintegrations(array[object]): Service integrations to be enabled when creating the service. - schema detailsip-filter(array[string]): Allow incoming connections from CIDR address block, e.g. ‘10.20.0.0/16’termination-protection(boolean): Service is protected against termination and powering offfork-from-service(string)recovery-backup-time(string): ISO time of a backup to recover from for services that support arbitrary timesmysql-settings(object) - schema detailsmaintenance(object): Automatic maintenance settings - schema detailsadmin-username(string): Custom username for admin user. This must be set only when a new service is being created.version(string): MySQL major versionplan(required) (string): Subscription planadmin-password(string): Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.migration(object): Migrate data from existing server - schema detailsbinlog-retention-period(integer): The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default for example if using the MySQL Debezium Kafka connector.
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for create-dbaas-service-mysql: golang | Python | Java
CLI: exo api create-dbaas-service-mysql
get-dbaas-service-mysql
Get a DBaaS MySQL service
GET /dbaas-mysql/{name}Get a DBaaS MySQL service
Path parameters
nameinpath(required)
Responses
200: 200application/jsonupdated-at(string): Service last update timestamp (ISO 8601)node-count(integer): Number of service nodes in the active planconnection-info(object): MySQL connection information properties - schema detailsbackup-schedule(object): Backup schedule - schema detailsnode-cpu-count(integer): Number of CPUs for each nodeprometheus-uri(object): Prometheus integration URI - schema detailsintegrations(array[object]): Service integrations - schema detailszone(string): The zone where the service is runningnode-states(array[object]): State of individual service nodes - schema detailsname(string)type(string)state(string)databases(array[string]): List of MySQL databasesip-filter(array[string]): Allowed CIDR address blocks for incoming connectionsbackups(array[object]): List of backups for the service - schema detailstermination-protection(boolean): Service is protected against termination and powering offnotifications(array[object]): Service notifications - schema detailscomponents(array[object]): Service component information objects - schema detailsmysql-settings(object) - schema detailsmaintenance(object): Automatic maintenance settings - schema detailsdisk-size(integer): TODO UNIT disk space for data storagenode-memory(integer): TODO UNIT of memory for each nodeuri(string): URI for connecting to the service (may be absent)uri-params(object): service_uri parameterized into key-value pairsversion(string): MySQL versioncreated-at(string): Service creation timestamp (ISO 8601)plan(string): Subscription planusers(array[object]): List of service users - schema details
SDK reference for get-dbaas-service-mysql: golang | Python | Java
CLI: exo api get-dbaas-service-mysql
update-dbaas-service-mysql
Update a DBaaS MySQL service
PUT /dbaas-mysql/{name}Update a DBaaS MySQL service
Path parameters
nameinpath(required)
Request body
application/jsonmaintenance(object): Automatic maintenance settings - schema detailsplan(string): Subscription plantermination-protection(boolean): Service is protected against termination and powering offip-filter(array[string]): Allow incoming connections from CIDR address block, e.g. ‘10.20.0.0/16’mysql-settings(object) - schema detailsmigration(object): Migrate data from existing server - schema detailsbinlog-retention-period(integer): The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default for example if using the MySQL Debezium Kafka connector.backup-schedule(object) - schema details
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for update-dbaas-service-mysql: golang | Python | Java
CLI: exo api update-dbaas-service-mysql
delete-dbaas-service-mysql
Delete a MySQL service
DELETE /dbaas-mysql/{name}null
Path parameters
nameinpath(required)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for delete-dbaas-service-mysql: golang | Python | Java
CLI: exo api delete-dbaas-service-mysql
Other Operations
start-dbaas-mysql-maintenance
Initiate MySQL maintenance update
PUT /dbaas-mysql/{name}/maintenance/startnull
Path parameters
nameinpath(required)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for start-dbaas-mysql-maintenance: golang | Python | Java
CLI: exo api start-dbaas-mysql-maintenance
stop-dbaas-mysql-migration
Stop a DBaaS MySQL migration
POST /dbaas-mysql/{name}/migration/stopnull
Path parameters
nameinpath(required)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for stop-dbaas-mysql-migration: golang | Python | Java
CLI: exo api stop-dbaas-mysql-migration
enable-dbaas-mysql-writes
Temporarily enable writes for MySQL services in read-only mode due to filled up storage
PUT /dbaas-mysql/{name}/enable/writesnull
Path parameters
nameinpath(required)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for enable-dbaas-mysql-writes: golang | Python | Java
CLI: exo api enable-dbaas-mysql-writes
get-dbaas-settings-mysql
Get DBaaS MySQL settings
GET /dbaas-settings-mysqlGet DBaaS MySQL settings
Responses
200: 200application/jsonsettings(object) - schema details
SDK reference for get-dbaas-settings-mysql: golang | Python | Java
CLI: exo api get-dbaas-settings-mysql