com.pulumi.gcp.cloudrunv2.kotlin.outputs.ServiceTemplateVpcAccess.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.cloudrunv2.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property connector VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
* @property egress Traffic VPC egress settings.
* Possible values are: `ALL_TRAFFIC`, `PRIVATE_RANGES_ONLY`.
* @property networkInterfaces Direct VPC egress settings. Currently only single network interface is supported.
* Structure is documented below.
*/
public data class ServiceTemplateVpcAccess(
public val connector: String? = null,
public val egress: String? = null,
public val networkInterfaces: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.ServiceTemplateVpcAccess): ServiceTemplateVpcAccess = ServiceTemplateVpcAccess(
connector = javaType.connector().map({ args0 -> args0 }).orElse(null),
egress = javaType.egress().map({ args0 -> args0 }).orElse(null),
networkInterfaces = javaType.networkInterfaces().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudrunv2.kotlin.outputs.ServiceTemplateVpcAccessNetworkInterface.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy