
com.pulumi.azure.network.kotlin.inputs.VpnGatewayConnectionVpnLinkCustomBgpAddressArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.network.kotlin.inputs
import com.pulumi.azure.network.inputs.VpnGatewayConnectionVpnLinkCustomBgpAddressArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property ipAddress The custom bgp ip address which belongs to the IP Configuration.
* @property ipConfigurationId The ID of the IP Configuration which belongs to the VPN Gateway.
*/
public data class VpnGatewayConnectionVpnLinkCustomBgpAddressArgs(
public val ipAddress: Output,
public val ipConfigurationId: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.network.inputs.VpnGatewayConnectionVpnLinkCustomBgpAddressArgs =
com.pulumi.azure.network.inputs.VpnGatewayConnectionVpnLinkCustomBgpAddressArgs.builder()
.ipAddress(ipAddress.applyValue({ args0 -> args0 }))
.ipConfigurationId(ipConfigurationId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VpnGatewayConnectionVpnLinkCustomBgpAddressArgs].
*/
@PulumiTagMarker
public class VpnGatewayConnectionVpnLinkCustomBgpAddressArgsBuilder internal constructor() {
private var ipAddress: Output? = null
private var ipConfigurationId: Output? = null
/**
* @param value The custom bgp ip address which belongs to the IP Configuration.
*/
@JvmName("xwctayyxlvrwjujp")
public suspend fun ipAddress(`value`: Output) {
this.ipAddress = value
}
/**
* @param value The ID of the IP Configuration which belongs to the VPN Gateway.
*/
@JvmName("fatajyqhobyjitvc")
public suspend fun ipConfigurationId(`value`: Output) {
this.ipConfigurationId = value
}
/**
* @param value The custom bgp ip address which belongs to the IP Configuration.
*/
@JvmName("opuiirhsvysdbsut")
public suspend fun ipAddress(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.ipAddress = mapped
}
/**
* @param value The ID of the IP Configuration which belongs to the VPN Gateway.
*/
@JvmName("jumhlmebrmisvpxl")
public suspend fun ipConfigurationId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.ipConfigurationId = mapped
}
internal fun build(): VpnGatewayConnectionVpnLinkCustomBgpAddressArgs =
VpnGatewayConnectionVpnLinkCustomBgpAddressArgs(
ipAddress = ipAddress ?: throw PulumiNullFieldException("ipAddress"),
ipConfigurationId = ipConfigurationId ?: throw PulumiNullFieldException("ipConfigurationId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy