com.pulumi.gcp.databasemigrationservice.kotlin.outputs.ConnectionProfileCloudsqlSettingsIpConfig.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.databasemigrationservice.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property authorizedNetworks The list of external networks that are allowed to connect to the instance using the IP.
* Structure is documented below.
* @property enableIpv4 Whether the instance should be assigned an IPv4 address or not.
* @property privateNetwork The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default.
* This setting can be updated, but it cannot be removed after it is set.
* @property requireSsl Whether SSL connections over IP should be enforced or not.
*/
public data class ConnectionProfileCloudsqlSettingsIpConfig(
public val authorizedNetworks: List? =
null,
public val enableIpv4: Boolean? = null,
public val privateNetwork: String? = null,
public val requireSsl: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.databasemigrationservice.outputs.ConnectionProfileCloudsqlSettingsIpConfig): ConnectionProfileCloudsqlSettingsIpConfig = ConnectionProfileCloudsqlSettingsIpConfig(
authorizedNetworks = javaType.authorizedNetworks().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.databasemigrationservice.kotlin.outputs.ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetwork.Companion.toKotlin(args0)
})
}),
enableIpv4 = javaType.enableIpv4().map({ args0 -> args0 }).orElse(null),
privateNetwork = javaType.privateNetwork().map({ args0 -> args0 }).orElse(null),
requireSsl = javaType.requireSsl().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy