DBaaS Thanos
Thanos is a large-scale metrics management system.
create-dbaas-service-thanos
Create a DBaaS Thanos service
POST /dbaas-thanos/{name}Create a DBaaS Thanos service
Path parameters
nameinpath(required)
Request body
application/jsonmaintenance(object): Automatic maintenance settings - schema detailsplan(required) (string): Subscription plantermination-protection(boolean): Service is protected against termination and powering offip-filter(array[string]): Allowed CIDR address blocks for incoming connectionsthanos-settings(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 create-dbaas-service-thanos: golang | Python | Java
CLI: exo api create-dbaas-service-thanos
get-dbaas-service-thanos
GET /dbaas-thanos/{name}Get a DBaaS Thanos 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): Thanos connection information properties - 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)ip-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 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 pairsthanos-settings(object) - schema detailscreated-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-thanos: golang | Python | Java
CLI: exo api get-dbaas-service-thanos
update-dbaas-service-thanos
PUT /dbaas-thanos/{name}Update a DBaaS Thanos 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]): Allowed CIDR address blocks for incoming connectionsthanos-settings(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-thanos: golang | Python | Java
CLI: exo api update-dbaas-service-thanos
delete-dbaas-service-thanos
Delete a Thanos service
DELETE /dbaas-thanos/{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-thanos: golang | Python | Java
CLI: exo api delete-dbaas-service-thanos
Other Operations
get-dbaas-settings-thanos
Get DBaaS Thanos settings
GET /dbaas-settings-thanosGet DBaaS Thanos settings
Responses
200: 200application/jsonsettings(object) - schema details
SDK reference for get-dbaas-settings-thanos: golang | Python | Java
CLI: exo api get-dbaas-settings-thanos
start-dbaas-thanos-maintenance
Initiate Thanos maintenance update
PUT /dbaas-thanos/{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-thanos-maintenance: golang | Python | Java
CLI: exo api start-dbaas-thanos-maintenance
reveal-dbaas-thanos-user-password
Reveal the secrets of a DBaaS Thanos user
GET /dbaas-thanos/{service-name}/user/{username}/password/revealnull
Path parameters
service-nameinpath(required)usernameinpath(required)
Responses
200: 200application/jsonusername(string): Thanos usernamepassword(string): Thanos password
SDK reference for reveal-dbaas-thanos-user-password: golang | Python | Java
CLI: exo api reveal-dbaas-thanos-user-password