Table of Contents

Class DatabaseInfo

Namespace
DataStax.AstraDB.DataApi.Core
Assembly
DataStax.AstraDB.DataApi.dll

The metadata information for a database.

public class DatabaseInfo
Inheritance
DatabaseInfo
Inherited Members

Properties

CloudProvider

The cloud provider where the database is deployed.

public AstraDatabaseCloudProvider CloudProvider { get; set; }

Property Value

AstraDatabaseCloudProvider

CreatedAt

The date and time when the database was created.

public DateTime CreatedAt { get; set; }

Property Value

DateTime

Environment

The environment (e.g. "prod").

public string Environment { get; set; }

Property Value

string

Id

The unique identifier of the database.

public string Id { get; set; }

Property Value

string

Keyspaces

The list of keyspaces available in the database.

public List<string> Keyspaces { get; set; }

Property Value

List<string>

LastUsed

The date and time when the database was last used.

public DateTime LastUsed { get; set; }

Property Value

DateTime

Name

The name of the database.

public string Name { get; set; }

Property Value

string

OrgId

The organization ID that owns the database.

public string OrgId { get; set; }

Property Value

string

OwnerId

The ID of the database owner.

public string OwnerId { get; set; }

Property Value

string

RawDetails

The raw database details as returned by the Astra API.

public RawDatabaseInfo RawDetails { get; set; }

Property Value

RawDatabaseInfo

Region

The primary region where the database is deployed.

public string Region { get; set; }

Property Value

string

Status

The current lifecycle status of the database.

public AstraDatabaseStatus Status { get; set; }

Property Value

AstraDatabaseStatus