com.pulumi.gcp.compute.kotlin.inputs.HaVpnGatewayVpnInterfaceArgs.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.compute.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.compute.inputs.HaVpnGatewayVpnInterfaceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property id The numeric ID of this VPN gateway interface.
* @property interconnectAttachment URL of the interconnect attachment resource. When the value
* of this field is present, the VPN Gateway will be used for
* IPsec-encrypted Cloud Interconnect; all Egress or Ingress
* traffic for this VPN Gateway interface will go through the
* specified interconnect attachment resource.
* Not currently available publicly.
* @property ipAddress (Output)
* The external IP address for this VPN gateway interface.
*/
public data class HaVpnGatewayVpnInterfaceArgs(
public val id: Output? = null,
public val interconnectAttachment: Output? = null,
public val ipAddress: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.compute.inputs.HaVpnGatewayVpnInterfaceArgs =
com.pulumi.gcp.compute.inputs.HaVpnGatewayVpnInterfaceArgs.builder()
.id(id?.applyValue({ args0 -> args0 }))
.interconnectAttachment(interconnectAttachment?.applyValue({ args0 -> args0 }))
.ipAddress(ipAddress?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [HaVpnGatewayVpnInterfaceArgs].
*/
@PulumiTagMarker
public class HaVpnGatewayVpnInterfaceArgsBuilder internal constructor() {
private var id: Output? = null
private var interconnectAttachment: Output? = null
private var ipAddress: Output? = null
/**
* @param value The numeric ID of this VPN gateway interface.
*/
@JvmName("cexgmvuotppacssb")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value URL of the interconnect attachment resource. When the value
* of this field is present, the VPN Gateway will be used for
* IPsec-encrypted Cloud Interconnect; all Egress or Ingress
* traffic for this VPN Gateway interface will go through the
* specified interconnect attachment resource.
* Not currently available publicly.
*/
@JvmName("wgyfoivlaoitfwbn")
public suspend fun interconnectAttachment(`value`: Output) {
this.interconnectAttachment = value
}
/**
* @param value (Output)
* The external IP address for this VPN gateway interface.
*/
@JvmName("yhrhnhoshyudkqst")
public suspend fun ipAddress(`value`: Output) {
this.ipAddress = value
}
/**
* @param value The numeric ID of this VPN gateway interface.
*/
@JvmName("mnqqgodvfnmpjdjn")
public suspend fun id(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value URL of the interconnect attachment resource. When the value
* of this field is present, the VPN Gateway will be used for
* IPsec-encrypted Cloud Interconnect; all Egress or Ingress
* traffic for this VPN Gateway interface will go through the
* specified interconnect attachment resource.
* Not currently available publicly.
*/
@JvmName("nrbbywiyfwhnhucj")
public suspend fun interconnectAttachment(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.interconnectAttachment = mapped
}
/**
* @param value (Output)
* The external IP address for this VPN gateway interface.
*/
@JvmName("ufpdpswsoqcpntdb")
public suspend fun ipAddress(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ipAddress = mapped
}
internal fun build(): HaVpnGatewayVpnInterfaceArgs = HaVpnGatewayVpnInterfaceArgs(
id = id,
interconnectAttachment = interconnectAttachment,
ipAddress = ipAddress,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy