Table of Contents

Class CreateDatabaseOptions

Namespace
DataStax.AstraDB.DataApi.Admin
Assembly
DataStax.AstraDB.DataApi.dll

Options to use when creating a new database.

public class CreateDatabaseOptions : BlockingCommandOptions
Inheritance
CreateDatabaseOptions
Inherited Members

Properties

CapacityUnits

Capacity units for the database (defaults to 1).

public int CapacityUnits { get; set; }

Property Value

int

CloudProvider

Which cloud provider should host the database?

public CloudProviderType? CloudProvider { get; set; }

Property Value

CloudProviderType?

DBType

Database type: "vector" (default) / "nonvector".

public string DBType { get; set; }

Property Value

string

Keyspace

Name of the initial keyspace (defaults to "default_keyspace")

public string Keyspace { get; set; }

Property Value

string

Name

Name of the database to be created.

public string Name { get; set; }

Property Value

string

PCUGroupId

PCU group ID to use for provisioning the database. Optional.

public string PCUGroupId { get; set; }

Property Value

string

Region

Database region.

public string Region { get; set; }

Property Value

string

Tier

Database tier (defaults to "serverless").

public string Tier { get; set; }

Property Value

string