Package-level declarations

Types

Link copied to clipboard
class BackupRun : KotlinCustomResource

Creates a new backup run on demand. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class BackupRunArgs(val backupKind: Output<BackupRunBackupKind>? = null, val description: Output<String>? = null, val diskEncryptionConfiguration: Output<DiskEncryptionConfigurationArgs>? = null, val diskEncryptionStatus: Output<DiskEncryptionStatusArgs>? = null, val endTime: Output<String>? = null, val enqueuedTime: Output<String>? = null, val error: Output<OperationErrorArgs>? = null, val id: Output<String>? = null, val instance: Output<String>? = null, val kind: Output<String>? = null, val location: Output<String>? = null, val project: Output<String>? = null, val selfLink: Output<String>? = null, val startTime: Output<String>? = null, val timeZone: Output<String>? = null, val type: Output<BackupRunType>? = null, val windowStartTime: Output<String>? = null) : ConvertibleToJava<BackupRunArgs>

Creates a new backup run on demand. Auto-naming is currently not supported for this resource.

Link copied to clipboard
Link copied to clipboard
object BackupRunMapper : ResourceMapper<BackupRun>
Link copied to clipboard
Link copied to clipboard
class Database : KotlinCustomResource

Inserts a resource containing information about a database inside a Cloud SQL instance. Note: You can't modify the default character set and collation.

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

Inserts a resource containing information about a database inside a Cloud SQL instance. Note: You can't modify the default character set and collation.

Link copied to clipboard
Link copied to clipboard
object DatabaseMapper : ResourceMapper<Database>
Link copied to clipboard
Link copied to clipboard
class Instance : KotlinCustomResource

Creates a new Cloud SQL instance.

Link copied to clipboard
data class InstanceArgs(val backendType: Output<InstanceBackendType>? = null, val connectionName: Output<String>? = null, val currentDiskSize: Output<String>? = null, val databaseVersion: Output<InstanceDatabaseVersion>? = null, val diskEncryptionConfiguration: Output<DiskEncryptionConfigurationArgs>? = null, val diskEncryptionStatus: Output<DiskEncryptionStatusArgs>? = null, val etag: Output<String>? = null, val failoverReplica: Output<InstanceFailoverReplicaArgs>? = null, val gceZone: Output<String>? = null, val instanceType: Output<InstanceInstanceType>? = null, val ipAddresses: Output<List<IpMappingArgs>>? = null, val ipv6Address: Output<String>? = null, val kind: Output<String>? = null, val maintenanceVersion: Output<String>? = null, val masterInstanceName: Output<String>? = null, val maxDiskSize: Output<String>? = null, val name: Output<String>? = null, val onPremisesConfiguration: Output<OnPremisesConfigurationArgs>? = null, val outOfDiskReport: Output<SqlOutOfDiskReportArgs>? = null, val project: Output<String>? = null, val region: Output<String>? = null, val replicaConfiguration: Output<ReplicaConfigurationArgs>? = null, val replicaNames: Output<List<String>>? = null, val rootPassword: Output<String>? = null, val satisfiesPzs: Output<Boolean>? = null, val scheduledMaintenance: Output<SqlScheduledMaintenanceArgs>? = null, val secondaryGceZone: Output<String>? = null, val selfLink: Output<String>? = null, val serverCaCert: Output<SslCertArgs>? = null, val serviceAccountEmailAddress: Output<String>? = null, val settings: Output<SettingsArgs>? = null, val state: Output<InstanceState>? = null, val suspensionReason: Output<List<InstanceSuspensionReasonItem>>? = null) : ConvertibleToJava<InstanceArgs>

Creates a new Cloud SQL instance.

Link copied to clipboard
Link copied to clipboard
object InstanceMapper : ResourceMapper<Instance>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class SslCert : KotlinCustomResource

Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted. Auto-naming is currently not supported for this resource.

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 an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted. Auto-naming is currently not supported for this resource.

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 user in a Cloud SQL instance.

Link copied to clipboard
data class UserArgs(val dualPasswordType: Output<UserDualPasswordType>? = null, val etag: Output<String>? = null, val host: Output<String>? = null, val instance: Output<String>? = null, val kind: Output<String>? = null, val name: Output<String>? = null, val password: Output<String>? = null, val passwordPolicy: Output<UserPasswordValidationPolicyArgs>? = null, val project: Output<String>? = null, val sqlserverUserDetails: Output<SqlServerUserDetailsArgs>? = null, val type: Output<UserType>? = null) : ConvertibleToJava<UserArgs>

Creates a new user in a Cloud SQL instance.

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 backupRun(name: String, block: suspend BackupRunResourceBuilder.() -> Unit): BackupRun
Link copied to clipboard
suspend fun database(name: String, block: suspend DatabaseResourceBuilder.() -> Unit): Database
Link copied to clipboard
suspend fun instance(name: String, block: suspend InstanceResourceBuilder.() -> Unit): Instance
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