All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigTargetCloudSqlTargetConditions.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataloss.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @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 PreventionDiscoveryConfigTargetCloudSqlTargetConditions(
    public val databaseEngines: List? = null,
    public val types: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionDiscoveryConfigTargetCloudSqlTargetConditions): PreventionDiscoveryConfigTargetCloudSqlTargetConditions =
            PreventionDiscoveryConfigTargetCloudSqlTargetConditions(
                databaseEngines = javaType.databaseEngines().map({ args0 -> args0 }),
                types = javaType.types().map({ args0 -> args0 }),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy