com.pulumi.gcp.dataloss.kotlin.inputs.PreventionDiscoveryConfigTargetCloudSqlTargetConditionsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.dataloss.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigTargetCloudSqlTargetConditionsArgs.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
/**
*
* @property databaseEngines Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
* Each value may be one of: `ALL_SUPPORTED_DATABASE_ENGINES`, `MYSQL`, `POSTGRES`.
* @property types Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
* Each value may be one of: `DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES`, `DATABASE_RESOURCE_TYPE_TABLE`.
*/
public data class PreventionDiscoveryConfigTargetCloudSqlTargetConditionsArgs(
public val databaseEngines: Output>? = null,
public val types: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigTargetCloudSqlTargetConditionsArgs =
com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigTargetCloudSqlTargetConditionsArgs.builder()
.databaseEngines(databaseEngines?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.types(types?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [PreventionDiscoveryConfigTargetCloudSqlTargetConditionsArgs].
*/
@PulumiTagMarker
public class PreventionDiscoveryConfigTargetCloudSqlTargetConditionsArgsBuilder internal constructor() {
private var databaseEngines: Output>? = null
private var types: Output>? = null
/**
* @param value Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
* Each value may be one of: `ALL_SUPPORTED_DATABASE_ENGINES`, `MYSQL`, `POSTGRES`.
*/
@JvmName("sobnnmmpvaujxbrs")
public suspend fun databaseEngines(`value`: Output>) {
this.databaseEngines = value
}
@JvmName("ekcfnithkmqyckvi")
public suspend fun databaseEngines(vararg values: Output) {
this.databaseEngines = Output.all(values.asList())
}
/**
* @param values Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
* Each value may be one of: `ALL_SUPPORTED_DATABASE_ENGINES`, `MYSQL`, `POSTGRES`.
*/
@JvmName("eyiikvvomxjvglon")
public suspend fun databaseEngines(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy