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

com.pulumi.gcp.sql.kotlin.outputs.GetDatabaseInstancesInstanceSettingIpConfigurationPscConfig.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.sql.kotlin.outputs

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

/**
 *
 * @property allowedConsumerProjects List of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).
 * @property pscEnabled Whether PSC connectivity is enabled for this instance.
 */
public data class GetDatabaseInstancesInstanceSettingIpConfigurationPscConfig(
    public val allowedConsumerProjects: List,
    public val pscEnabled: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.sql.outputs.GetDatabaseInstancesInstanceSettingIpConfigurationPscConfig): GetDatabaseInstancesInstanceSettingIpConfigurationPscConfig =
            GetDatabaseInstancesInstanceSettingIpConfigurationPscConfig(
                allowedConsumerProjects = javaType.allowedConsumerProjects().map({ args0 -> args0 }),
                pscEnabled = javaType.pscEnabled(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy