Get a DBaaS service type

GET /dbaas-service-type/{service-type-name}

Get a DBaaS service type

Responses

  • 200 object

    200

    • name string

      DbaaS service name

      Minimum length is 0, maximum length is 64.

    • available-versions array[string]

      DbaaS service available versions

    • DbaaS service default version

    • DbaaS service description

    • plans array[object]

      DBaaS plan

      • name string

        DBaaS plan name

      • node-count integer(int64)

        DBaaS plan node count

        Minimum value is 0.

      • node-cpu-count integer(int64)

        DBaaS plan CPU count per node

        Minimum value is 0.

      • disk-space integer(int64)

        DBaaS plan disk space

      • node-memory integer(int64)

        DBaaS plan memory count per node

        Minimum value is 0.

      • max-memory-percent integer(int64)

        DBaaS plan max memory allocated percentage

        Minimum value is 0.

      • DBaaS plan backup config

        • max-count integer(int64)

          Maximum number of backups to keep. Zero when no backups are created.

          Minimum value is 0.

        • interval integer(int64)

          The interval, in hours, at which backups are generated.
          For some services, like PostgreSQL, this is the interval
          at which full snapshots are taken and continuous incremental
          backup stream is maintained in addition to that.

          Minimum value is 0.

        • Mechanism how backups can be restored. 'regular'
          means a backup is restored as is so that the system
          is restored to the state it was when the backup was generated.
          'pitr' means point-in-time-recovery, which allows restoring
          the system to any state since the first available full snapshot.

        • Interval of taking a frequent backup in service types supporting different backup schedules

          Minimum value is 0.

        • Maximum age of the oldest frequent backup in service types supporting different backup schedules

          Minimum value is 0.

        • Interval of taking a frequent backup in service types supporting different backup schedules

          Minimum value is 0.

        • Maximum age of the oldest infrequent backup in service types supporting different backup schedules

          Minimum value is 0.

      • authorized boolean

        Requires authorization or publicly available

GET /dbaas-service-type/{service-type-name}
curl \
 -X GET https://api-ch-gva-2.exoscale.com/v2/dbaas-service-type/{service-type-name}
Response example (200)
{
  "name": "string",
  "available-versions": [
    "string"
  ],
  "default-version": "string",
  "description": "string",
  "plans": [
    {
      "name": "string",
      "node-count": 42,
      "node-cpu-count": 42,
      "disk-space": 42,
      "node-memory": 42,
      "max-memory-percent": 42,
      "backup-config": {
        "max-count": 42,
        "interval": 42,
        "recovery-mode": "string",
        "frequent-interval-minutes": 42,
        "frequent-oldest-age-minutes": 42,
        "infrequent-interval-minutes": 42,
        "infrequent-oldest-age-minutes": 42
      },
      "authorized": true
    }
  ]
}