com.pulumi.gcp.networkconnectivity.kotlin.inputs.SpokeLinkedRouterApplianceInstancesInstanceArgs.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.networkconnectivity.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.networkconnectivity.inputs.SpokeLinkedRouterApplianceInstancesInstanceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property ipAddress The IP address on the VM to use for peering.
* @property virtualMachine The URI of the virtual machine resource
* - - -
*/
public data class SpokeLinkedRouterApplianceInstancesInstanceArgs(
public val ipAddress: Output? = null,
public val virtualMachine: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.networkconnectivity.inputs.SpokeLinkedRouterApplianceInstancesInstanceArgs =
com.pulumi.gcp.networkconnectivity.inputs.SpokeLinkedRouterApplianceInstancesInstanceArgs.builder()
.ipAddress(ipAddress?.applyValue({ args0 -> args0 }))
.virtualMachine(virtualMachine?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SpokeLinkedRouterApplianceInstancesInstanceArgs].
*/
@PulumiTagMarker
public class SpokeLinkedRouterApplianceInstancesInstanceArgsBuilder internal constructor() {
private var ipAddress: Output? = null
private var virtualMachine: Output? = null
/**
* @param value The IP address on the VM to use for peering.
*/
@JvmName("ttceyqitvcqfjlke")
public suspend fun ipAddress(`value`: Output) {
this.ipAddress = value
}
/**
* @param value The URI of the virtual machine resource
* - - -
*/
@JvmName("scfjlicjuysfcejn")
public suspend fun virtualMachine(`value`: Output) {
this.virtualMachine = value
}
/**
* @param value The IP address on the VM to use for peering.
*/
@JvmName("mhpctqbtscfhspgl")
public suspend fun ipAddress(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ipAddress = mapped
}
/**
* @param value The URI of the virtual machine resource
* - - -
*/
@JvmName("absquddnlxmcvubn")
public suspend fun virtualMachine(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.virtualMachine = mapped
}
internal fun build(): SpokeLinkedRouterApplianceInstancesInstanceArgs =
SpokeLinkedRouterApplianceInstancesInstanceArgs(
ipAddress = ipAddress,
virtualMachine = virtualMachine,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy