com.pulumi.azurenative.labservices.kotlin.inputs.LabNetworkProfileArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.labservices.kotlin.inputs
import com.pulumi.azurenative.labservices.inputs.LabNetworkProfileArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Profile for how to handle networking for Labs.
* @property loadBalancerId The external load balancer resource id
* @property publicIpId The external public IP resource id
* @property subnetId The external subnet resource id
*/
public data class LabNetworkProfileArgs(
public val loadBalancerId: Output? = null,
public val publicIpId: Output? = null,
public val subnetId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.labservices.inputs.LabNetworkProfileArgs =
com.pulumi.azurenative.labservices.inputs.LabNetworkProfileArgs.builder()
.loadBalancerId(loadBalancerId?.applyValue({ args0 -> args0 }))
.publicIpId(publicIpId?.applyValue({ args0 -> args0 }))
.subnetId(subnetId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LabNetworkProfileArgs].
*/
@PulumiTagMarker
public class LabNetworkProfileArgsBuilder internal constructor() {
private var loadBalancerId: Output? = null
private var publicIpId: Output? = null
private var subnetId: Output? = null
/**
* @param value The external load balancer resource id
*/
@JvmName("xgjaumeruqmnrvyh")
public suspend fun loadBalancerId(`value`: Output) {
this.loadBalancerId = value
}
/**
* @param value The external public IP resource id
*/
@JvmName("esphdeihxnnvhpeo")
public suspend fun publicIpId(`value`: Output) {
this.publicIpId = value
}
/**
* @param value The external subnet resource id
*/
@JvmName("nchgllfesgluleod")
public suspend fun subnetId(`value`: Output) {
this.subnetId = value
}
/**
* @param value The external load balancer resource id
*/
@JvmName("grfvglqsfypayqfs")
public suspend fun loadBalancerId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.loadBalancerId = mapped
}
/**
* @param value The external public IP resource id
*/
@JvmName("oppgykkbwgjeajjf")
public suspend fun publicIpId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.publicIpId = mapped
}
/**
* @param value The external subnet resource id
*/
@JvmName("mttnwmjnpdqffstj")
public suspend fun subnetId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.subnetId = mapped
}
internal fun build(): LabNetworkProfileArgs = LabNetworkProfileArgs(
loadBalancerId = loadBalancerId,
publicIpId = publicIpId,
subnetId = subnetId,
)
}