interface Database {
    cpuCurrent: number;
    cpuMax: number;
    cpuMin: number;
    createdAt?: Date;
    endpoint: string;
    engineMajorVersion: number;
    id: string;
    name: string;
    organizationId: string;
    projectId: string;
    region: Region;
    started: boolean;
    status: DatabaseStatus;
}

Properties

cpuCurrent: number

The current number of CPU units allocated to your Serverless SQL Database.

cpuMax: number

The maximum number of CPU units for your Serverless SQL Database.

cpuMin: number

The minimum number of CPU units for your Serverless SQL Database.

createdAt?: Date

Creation date.

endpoint: string

Endpoint of the database.

engineMajorVersion: number

The major version of the underlying database engine.

id: string

UUID that uniquely identifies your Serverless SQL DB Database.

name: string

Name of the database.

organizationId: string

The ID of your Scaleway organization.

projectId: string

Project ID the database belongs to.

region: Region

Region of the database.

started: boolean

Whether your Serverless SQL Database is running or not.

Status of the Serverless SQL Ddatabase. One of unknown_status | ready | creating | deleting | error | restoring | locked.