The database information returned from Db.info.

interface AstraDbInfo {
    apiEndpoint: string;
    cloudProvider: AstraDbCloudProvider;
    environment: "dev" | "prod" | "test";
    id: string;
    keyspaces: string[];
    name: string;
    raw: Record<string, any>;
    region: string;
    status: AstraDbStatus;
}

Hierarchy (view full)

Properties

apiEndpoint: string
cloudProvider: AstraDbCloudProvider

The cloud provided where the database is hosted.

environment: "dev" | "prod" | "test"

The Astra environment in which the database is running.

id: string

The ID of the database.

keyspaces: string[]

The databases's keyspaces; the list may be empty.

name: string

The user-given name of the database.

raw: Record<string, any>

The raw response from the DevOps API for the database information.

region: string

The current status of the daatbase.