Package-level declarations

Types

Link copied to clipboard
class Database : KotlinCustomResource

Represents a SQL database inside the Cloud SQL instance, hosted in Google's cloud.

Link copied to clipboard
data class DatabaseArgs(val charset: Output<String>? = null, val collation: Output<String>? = null, val deletionPolicy: Output<String>? = null, val instance: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<DatabaseArgs>

Represents a SQL database inside the Cloud SQL instance, hosted in Google's cloud.

Link copied to clipboard
Link copied to clipboard
class DatabaseInstance : KotlinCustomResource

Creates a new Google SQL Database Instance. For more information, see the official documentation, or the JSON API.

Link copied to clipboard
data class DatabaseInstanceArgs(val clone: Output<DatabaseInstanceCloneArgs>? = null, val databaseVersion: Output<String>? = null, val deletionProtection: Output<Boolean>? = null, val encryptionKeyName: Output<String>? = null, val instanceType: Output<String>? = null, val maintenanceVersion: Output<String>? = null, val masterInstanceName: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val region: Output<String>? = null, val replicaConfiguration: Output<DatabaseInstanceReplicaConfigurationArgs>? = null, val restoreBackupContext: Output<DatabaseInstanceRestoreBackupContextArgs>? = null, val rootPassword: Output<String>? = null, val settings: Output<DatabaseInstanceSettingsArgs>? = null) : ConvertibleToJava<DatabaseInstanceArgs>

Creates a new Google SQL Database Instance. For more information, see the official documentation, or the JSON API.

Link copied to clipboard
object DatabaseInstanceMapper : ResourceMapper<DatabaseInstance>
Link copied to clipboard
object DatabaseMapper : ResourceMapper<Database>
Link copied to clipboard
Link copied to clipboard
class SourceRepresentationInstance : KotlinCustomResource

A source representation instance is a Cloud SQL instance that represents the source database server to the Cloud SQL replica. It is visible in the Cloud Console and appears the same as a regular Cloud SQL instance, but it contains no data, requires no configuration or maintenance, and does not affect billing. You cannot update the source representation instance.

Link copied to clipboard
data class SourceRepresentationInstanceArgs(val caCertificate: Output<String>? = null, val clientCertificate: Output<String>? = null, val clientKey: Output<String>? = null, val databaseVersion: Output<String>? = null, val dumpFilePath: Output<String>? = null, val host: Output<String>? = null, val name: Output<String>? = null, val password: Output<String>? = null, val port: Output<Int>? = null, val project: Output<String>? = null, val region: Output<String>? = null, val username: Output<String>? = null) : ConvertibleToJava<SourceRepresentationInstanceArgs>

A source representation instance is a Cloud SQL instance that represents the source database server to the Cloud SQL replica. It is visible in the Cloud Console and appears the same as a regular Cloud SQL instance, but it contains no data, requires no configuration or maintenance, and does not affect billing. You cannot update the source representation instance.

Link copied to clipboard
Link copied to clipboard
class SslCert : KotlinCustomResource

Creates a new Google SQL SSL Cert on a Google SQL Instance. For more information, see the official documentation, or the JSON API.

Link copied to clipboard
data class SslCertArgs(val commonName: Output<String>? = null, val instance: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<SslCertArgs>

Creates a new Google SQL SSL Cert on a Google SQL Instance. For more information, see the official documentation, or the JSON API.

Link copied to clipboard
Link copied to clipboard
object SslCertMapper : ResourceMapper<SslCert>
Link copied to clipboard
Link copied to clipboard
class User : KotlinCustomResource

Creates a new Google SQL User on a Google SQL User Instance. For more information, see the official documentation, or the JSON API.

Link copied to clipboard
data class UserArgs(val deletionPolicy: Output<String>? = null, val host: Output<String>? = null, val instance: Output<String>? = null, val name: Output<String>? = null, val password: Output<String>? = null, val passwordPolicy: Output<UserPasswordPolicyArgs>? = null, val project: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<UserArgs>

Creates a new Google SQL User on a Google SQL User Instance. For more information, see the official documentation, or the JSON API.

Link copied to clipboard

Builder for UserArgs.

Link copied to clipboard
object UserMapper : ResourceMapper<User>
Link copied to clipboard

Builder for User.

Functions

Link copied to clipboard
suspend fun database(name: String, block: suspend DatabaseResourceBuilder.() -> Unit): Database
Link copied to clipboard
Link copied to clipboard
fun sslCert(name: String): SslCert
suspend fun sslCert(name: String, block: suspend SslCertResourceBuilder.() -> Unit): SslCert
Link copied to clipboard
fun user(name: String): User
suspend fun user(name: String, block: suspend UserResourceBuilder.() -> Unit): User