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