The cloud provider where the database is hosted.
Valid values include 'AWS'
, 'GCP'
, and 'AZURE'
.
A timestamp representing when the database was initially created.
The Astra environment in which the database is running.
Not relevant for most users' usage.
The unique UUID of the database.
The list of keyspaces currently present in the database.
The list may technically be empty in rare corner cases, if they have all been deleted, but it is quite unlikely.
A timestamp representing the most recent time the database was accessed (read/write).
The user-provided name of the database.
The unique organization UUID that owns this database.
The unique user UUID that owns this database.
The full raw response received from the DevOps API when querying for database metadata.
This field is provided for inspection or debugging, and contains fields not explicitly typed/present in this interface.
Information about the regions in which the database is deployed.
It should contain at least one value, but may have more for multi-region deployments.
Contains the region name, API endpoint for that region, and the timestamp when that region was created.
The current status of the database.
Common values include:
'PENDING'
'ACTIVE'
'DELETING'
'HIBERNATED'
'TERMINATED'
Status values indicate the provisioning/operational state of the database.
AstraDatabaseStatus contains a large amount of possible statuses (though many are unlikely), but the enumeration is open to other statuses not mentioned.
Overview
Represents the complete metadata returned for an Astra database.
This is returned from AstraDbAdmin.info and AstraAdmin.dbInfo, whereas AstraPartialDatabaseInfo is used for Db.info.
Example
See
AstraBaseDatabaseInfo