AppSpecDatabase

data class AppSpecDatabase(val clusterName: String? = null, val dbName: String? = null, val dbUser: String? = null, val engine: String? = null, val name: String? = null, val production: Boolean? = null, val version: String? = null)

Constructors

Link copied to clipboard
constructor(clusterName: String? = null, dbName: String? = null, dbUser: String? = null, engine: String? = null, name: String? = null, production: Boolean? = null, version: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val clusterName: String? = null

The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if cluster_name is not set, a new cluster will be provisioned.

Link copied to clipboard
val dbName: String? = null

The name of the MySQL or PostgreSQL database to configure.

Link copied to clipboard
val dbUser: String? = null

The name of the MySQL or PostgreSQL user to configure. This resource supports customized create timeouts. The default timeout is 30 minutes.

Link copied to clipboard
val engine: String? = null

The database engine to use (MYSQL, PG, REDIS, MONGODB, KAFKA, or OPENSEARCH).

Link copied to clipboard
val name: String? = null

The name of the component.

Link copied to clipboard
val production: Boolean? = null

Whether this is a production or dev database.

Link copied to clipboard
val version: String? = null

The version of the database engine.