Interface BaseAstraDbInfo

Represents the base information about a database, which is common in both AstraDbAdminInfo and AstraDbInfo.

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

Hierarchy (view full)

Properties

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.

The current status of the daatbase.