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

com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayGatewayIpConfigurationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.network.kotlin.inputs

import com.pulumi.azure.network.inputs.ApplicationGatewayGatewayIpConfigurationArgs.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 id The ID of the Rewrite Rule Set
 * @property name The Name of this Gateway IP Configuration.
 * @property subnetId The ID of the Subnet which the Application Gateway should be connected to.
 */
public data class ApplicationGatewayGatewayIpConfigurationArgs(
    public val id: Output? = null,
    public val name: Output,
    public val subnetId: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.network.inputs.ApplicationGatewayGatewayIpConfigurationArgs =
        com.pulumi.azure.network.inputs.ApplicationGatewayGatewayIpConfigurationArgs.builder()
            .id(id?.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 }))
            .subnetId(subnetId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ApplicationGatewayGatewayIpConfigurationArgs].
 */
@PulumiTagMarker
public class ApplicationGatewayGatewayIpConfigurationArgsBuilder internal constructor() {
    private var id: Output? = null

    private var name: Output? = null

    private var subnetId: Output? = null

    /**
     * @param value The ID of the Rewrite Rule Set
     */
    @JvmName("crjnwjphyedlgfeo")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value The Name of this Gateway IP Configuration.
     */
    @JvmName("hlmatpxmusfnydbl")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The ID of the Subnet which the Application Gateway should be connected to.
     */
    @JvmName("olrggaaxjfowjcxg")
    public suspend fun subnetId(`value`: Output) {
        this.subnetId = value
    }

    /**
     * @param value The ID of the Rewrite Rule Set
     */
    @JvmName("lqkgpeyolboohsug")
    public suspend fun id(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.id = mapped
    }

    /**
     * @param value The Name of this Gateway IP Configuration.
     */
    @JvmName("dgqigyldigdgomid")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The ID of the Subnet which the Application Gateway should be connected to.
     */
    @JvmName("tvydvovdmrwcgyov")
    public suspend fun subnetId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.subnetId = mapped
    }

    internal fun build(): ApplicationGatewayGatewayIpConfigurationArgs =
        ApplicationGatewayGatewayIpConfigurationArgs(
            id = id,
            name = name ?: throw PulumiNullFieldException("name"),
            subnetId = subnetId ?: throw PulumiNullFieldException("subnetId"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy