DBaaS Thanos

Thanos is a large-scale metrics management system.

Read more

create-dbaas-service-thanos

Create a DBaaS Thanos service

POST /dbaas-thanos/{name}

Create a DBaaS Thanos service

Path parameters

  • name in path (required)

Request body

  • application/json
    • maintenance (object): Automatic maintenance settings - schema details
    • plan (required) (string): Subscription plan
    • termination-protection (boolean): Service is protected against termination and powering off
    • ip-filter (array[string]): Allowed CIDR address blocks for incoming connections
    • thanos-settings (object) - schema details

Responses

  • 200: 200
    • application/json
      • id (string): Operation ID
      • reason (string): Operation failure reason
      • reference (object): Related resource reference - schema details
      • message (string): Operation message
      • state (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

  • name in path (required)

Responses

  • 200: 200
    • application/json
      • updated-at (string): Service last update timestamp (ISO 8601)
      • node-count (integer): Number of service nodes in the active plan
      • connection-info (object): Thanos connection information properties - schema details
      • node-cpu-count (integer): Number of CPUs for each node
      • prometheus-uri (object): Prometheus integration URI - schema details
      • integrations (array[object]): Service integrations - schema details
      • zone (string): The zone where the service is running
      • node-states (array[object]): State of individual service nodes - schema details
      • name (string)
      • type (string)
      • state (string)
      • ip-filter (array[string]): Allowed CIDR address blocks for incoming connections
      • backups (array[object]): List of backups for the service - schema details
      • termination-protection (boolean): Service is protected against termination and powering off
      • notifications (array[object]): Service notifications - schema details
      • components (array[object]): Service component information objects - schema details
      • maintenance (object): Automatic maintenance settings - schema details
      • disk-size (integer): TODO UNIT disk space for data storage
      • node-memory (integer): TODO UNIT of memory for each node
      • uri (string): URI for connecting to the service (may be absent)
      • uri-params (object): service_uri parameterized into key-value pairs
      • thanos-settings (object) - schema details
      • created-at (string): Service creation timestamp (ISO 8601)
      • plan (string): Subscription plan
      • users (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

  • name in path (required)

Request body

  • application/json
    • maintenance (object): Automatic maintenance settings - schema details
    • plan (string): Subscription plan
    • termination-protection (boolean): Service is protected against termination and powering off
    • ip-filter (array[string]): Allowed CIDR address blocks for incoming connections
    • thanos-settings (object) - schema details

Responses

  • 200: 200
    • application/json
      • id (string): Operation ID
      • reason (string): Operation failure reason
      • reference (object): Related resource reference - schema details
      • message (string): Operation message
      • state (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

  • name in path (required)

Responses

  • 200: 200
    • application/json
      • id (string): Operation ID
      • reason (string): Operation failure reason
      • reference (object): Related resource reference - schema details
      • message (string): Operation message
      • state (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-thanos

Get DBaaS Thanos settings

Responses

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/start

null

Path parameters

  • name in path (required)

Responses

  • 200: 200
    • application/json
      • id (string): Operation ID
      • reason (string): Operation failure reason
      • reference (object): Related resource reference - schema details
      • message (string): Operation message
      • state (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/reveal

null

Path parameters

  • service-name in path (required)
  • username in path (required)

Responses

  • 200: 200
    • application/json
      • username (string): Thanos username
      • password (string): Thanos password

SDK reference for reveal-dbaas-thanos-user-password: golang | Python | Java

CLI: exo api reveal-dbaas-thanos-user-password

Last updated on