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

com.pulumi.azure.lab.kotlin.inputs.LabNetworkArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.lab.kotlin.inputs

import com.pulumi.azure.lab.inputs.LabNetworkArgs.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

/**
 *
 * @property loadBalancerId The resource ID of the Load Balancer for the network profile of the Lab Service Lab.
 * @property publicIpId The resource ID of the Public IP for the network profile of the Lab Service Lab.
 * @property subnetId The resource ID of the Subnet for the network profile of the Lab Service Lab.
 */
public data class LabNetworkArgs(
    public val loadBalancerId: Output? = null,
    public val publicIpId: Output? = null,
    public val subnetId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.lab.inputs.LabNetworkArgs =
        com.pulumi.azure.lab.inputs.LabNetworkArgs.builder()
            .loadBalancerId(loadBalancerId?.applyValue({ args0 -> args0 }))
            .publicIpId(publicIpId?.applyValue({ args0 -> args0 }))
            .subnetId(subnetId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LabNetworkArgs].
 */
@PulumiTagMarker
public class LabNetworkArgsBuilder internal constructor() {
    private var loadBalancerId: Output? = null

    private var publicIpId: Output? = null

    private var subnetId: Output? = null

    /**
     * @param value The resource ID of the Load Balancer for the network profile of the Lab Service Lab.
     */
    @JvmName("xrqfpyruqypgnrfj")
    public suspend fun loadBalancerId(`value`: Output) {
        this.loadBalancerId = value
    }

    /**
     * @param value The resource ID of the Public IP for the network profile of the Lab Service Lab.
     */
    @JvmName("cdmaxeqkittnhnnh")
    public suspend fun publicIpId(`value`: Output) {
        this.publicIpId = value
    }

    /**
     * @param value The resource ID of the Subnet for the network profile of the Lab Service Lab.
     */
    @JvmName("jprvekahavufxxbo")
    public suspend fun subnetId(`value`: Output) {
        this.subnetId = value
    }

    /**
     * @param value The resource ID of the Load Balancer for the network profile of the Lab Service Lab.
     */
    @JvmName("svkfpvvnnexqueis")
    public suspend fun loadBalancerId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.loadBalancerId = mapped
    }

    /**
     * @param value The resource ID of the Public IP for the network profile of the Lab Service Lab.
     */
    @JvmName("ettlsvbhgkdhhepo")
    public suspend fun publicIpId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.publicIpId = mapped
    }

    /**
     * @param value The resource ID of the Subnet for the network profile of the Lab Service Lab.
     */
    @JvmName("uavmrnhebdiwlepg")
    public suspend fun subnetId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subnetId = mapped
    }

    internal fun build(): LabNetworkArgs = LabNetworkArgs(
        loadBalancerId = loadBalancerId,
        publicIpId = publicIpId,
        subnetId = subnetId,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy