
com.pulumi.googlenative.run.v2.kotlin.inputs.GoogleCloudRunV2CloudSqlInstanceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.run.v2.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.run.v2.inputs.GoogleCloudRunV2CloudSqlInstanceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Represents a set of Cloud SQL instances. Each one will be available under /cloudsql/[instance]. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
* @property instances The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
*/
public data class GoogleCloudRunV2CloudSqlInstanceArgs(
public val instances: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.run.v2.inputs.GoogleCloudRunV2CloudSqlInstanceArgs = com.pulumi.googlenative.run.v2.inputs.GoogleCloudRunV2CloudSqlInstanceArgs.builder()
.instances(instances?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [GoogleCloudRunV2CloudSqlInstanceArgs].
*/
@PulumiTagMarker
public class GoogleCloudRunV2CloudSqlInstanceArgsBuilder internal constructor() {
private var instances: Output>? = null
/**
* @param value The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
*/
@JvmName("omotgtvgwguhydts")
public suspend fun instances(`value`: Output>) {
this.instances = value
}
@JvmName("spfmjdelvnsgifnm")
public suspend fun instances(vararg values: Output) {
this.instances = Output.all(values.asList())
}
/**
* @param values The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
*/
@JvmName("oxotemqsubxpamhi")
public suspend fun instances(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy