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

com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetServiceTemplateVpcAccess.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.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: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
 * @property networkInterfaces Direct VPC egress settings. Currently only single network interface is supported.
 */
public data class GetServiceTemplateVpcAccess(
    public val connector: String,
    public val egress: String,
    public val networkInterfaces: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.GetServiceTemplateVpcAccess): GetServiceTemplateVpcAccess = GetServiceTemplateVpcAccess(
            connector = javaType.connector(),
            egress = javaType.egress(),
            networkInterfaces = javaType.networkInterfaces().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetServiceTemplateVpcAccessNetworkInterface.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy