AppSpecDatabaseArgs

data class AppSpecDatabaseArgs(val clusterName: Output<String>? = null, val dbName: Output<String>? = null, val dbUser: Output<String>? = null, val engine: Output<String>? = null, val name: Output<String>? = null, val production: Output<Boolean>? = null, val version: Output<String>? = null) : ConvertibleToJava<AppSpecDatabaseArgs>

Constructors

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

Properties

Link copied to clipboard
val clusterName: Output<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: Output<String>? = null

The name of the MySQL or PostgreSQL database to configure.

Link copied to clipboard
val dbUser: Output<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: Output<String>? = null

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

Link copied to clipboard
val name: Output<String>? = null

The name of the component.

Link copied to clipboard
val production: Output<Boolean>? = null

Whether this is a production or dev database.

Link copied to clipboard
val version: Output<String>? = null

The version of the database engine.

Functions

Link copied to clipboard
open override fun toJava(): AppSpecDatabaseArgs