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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.azure.network.inputs.ApplicationGatewayFrontendIpConfigurationArgs.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 the Frontend IP Configuration.
 * @property privateIpAddress The Private IP Address to use for the Application Gateway.
 * @property privateIpAddressAllocation The Allocation Method for the Private IP Address. Possible values are `Dynamic` and `Static`. Defaults to `Dynamic`.
 * @property privateLinkConfigurationId The ID of the associated private link configuration.
 * @property privateLinkConfigurationName The name of the private link configuration to use for this frontend IP configuration.
 * @property publicIpAddressId The ID of a Public IP Address which the Application Gateway should use. The allocation method for the Public IP Address depends on the `sku` of this Application Gateway. Please refer to the [Azure documentation for public IP addresses](https://docs.microsoft.com/azure/virtual-network/public-ip-addresses#application-gateways) for details.
 * @property subnetId The ID of the Subnet.
 */
public data class ApplicationGatewayFrontendIpConfigurationArgs(
    public val id: Output? = null,
    public val name: Output,
    public val privateIpAddress: Output? = null,
    public val privateIpAddressAllocation: Output? = null,
    public val privateLinkConfigurationId: Output? = null,
    public val privateLinkConfigurationName: Output? = null,
    public val publicIpAddressId: Output? = null,
    public val subnetId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.network.inputs.ApplicationGatewayFrontendIpConfigurationArgs =
        com.pulumi.azure.network.inputs.ApplicationGatewayFrontendIpConfigurationArgs.builder()
            .id(id?.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 }))
            .privateIpAddress(privateIpAddress?.applyValue({ args0 -> args0 }))
            .privateIpAddressAllocation(privateIpAddressAllocation?.applyValue({ args0 -> args0 }))
            .privateLinkConfigurationId(privateLinkConfigurationId?.applyValue({ args0 -> args0 }))
            .privateLinkConfigurationName(privateLinkConfigurationName?.applyValue({ args0 -> args0 }))
            .publicIpAddressId(publicIpAddressId?.applyValue({ args0 -> args0 }))
            .subnetId(subnetId?.applyValue({ args0 -> args0 })).build()
}

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

    private var name: Output? = null

    private var privateIpAddress: Output? = null

    private var privateIpAddressAllocation: Output? = null

    private var privateLinkConfigurationId: Output? = null

    private var privateLinkConfigurationName: Output? = null

    private var publicIpAddressId: Output? = null

    private var subnetId: Output? = null

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

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

    /**
     * @param value The Private IP Address to use for the Application Gateway.
     */
    @JvmName("vyykoxkwsipporgu")
    public suspend fun privateIpAddress(`value`: Output) {
        this.privateIpAddress = value
    }

    /**
     * @param value The Allocation Method for the Private IP Address. Possible values are `Dynamic` and `Static`. Defaults to `Dynamic`.
     */
    @JvmName("yxlskeedgdumocfy")
    public suspend fun privateIpAddressAllocation(`value`: Output) {
        this.privateIpAddressAllocation = value
    }

    /**
     * @param value The ID of the associated private link configuration.
     */
    @JvmName("nsjrydonwuqakwbs")
    public suspend fun privateLinkConfigurationId(`value`: Output) {
        this.privateLinkConfigurationId = value
    }

    /**
     * @param value The name of the private link configuration to use for this frontend IP configuration.
     */
    @JvmName("infdhveguikpsqak")
    public suspend fun privateLinkConfigurationName(`value`: Output) {
        this.privateLinkConfigurationName = value
    }

    /**
     * @param value The ID of a Public IP Address which the Application Gateway should use. The allocation method for the Public IP Address depends on the `sku` of this Application Gateway. Please refer to the [Azure documentation for public IP addresses](https://docs.microsoft.com/azure/virtual-network/public-ip-addresses#application-gateways) for details.
     */
    @JvmName("twjbaiqjgqxxpweq")
    public suspend fun publicIpAddressId(`value`: Output) {
        this.publicIpAddressId = value
    }

    /**
     * @param value The ID of the Subnet.
     */
    @JvmName("lsxikkejhttcoeag")
    public suspend fun subnetId(`value`: Output) {
        this.subnetId = value
    }

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

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

    /**
     * @param value The Private IP Address to use for the Application Gateway.
     */
    @JvmName("nhyfffjeonprxubk")
    public suspend fun privateIpAddress(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.privateIpAddress = mapped
    }

    /**
     * @param value The Allocation Method for the Private IP Address. Possible values are `Dynamic` and `Static`. Defaults to `Dynamic`.
     */
    @JvmName("quyeajnpoonqptnu")
    public suspend fun privateIpAddressAllocation(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.privateIpAddressAllocation = mapped
    }

    /**
     * @param value The ID of the associated private link configuration.
     */
    @JvmName("wmgkbdvgyymetaxm")
    public suspend fun privateLinkConfigurationId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.privateLinkConfigurationId = mapped
    }

    /**
     * @param value The name of the private link configuration to use for this frontend IP configuration.
     */
    @JvmName("fetcfyrgdkudwrxn")
    public suspend fun privateLinkConfigurationName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.privateLinkConfigurationName = mapped
    }

    /**
     * @param value The ID of a Public IP Address which the Application Gateway should use. The allocation method for the Public IP Address depends on the `sku` of this Application Gateway. Please refer to the [Azure documentation for public IP addresses](https://docs.microsoft.com/azure/virtual-network/public-ip-addresses#application-gateways) for details.
     */
    @JvmName("ldsowfqhcvmhlyxf")
    public suspend fun publicIpAddressId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.publicIpAddressId = mapped
    }

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

    internal fun build(): ApplicationGatewayFrontendIpConfigurationArgs =
        ApplicationGatewayFrontendIpConfigurationArgs(
            id = id,
            name = name ?: throw PulumiNullFieldException("name"),
            privateIpAddress = privateIpAddress,
            privateIpAddressAllocation = privateIpAddressAllocation,
            privateLinkConfigurationId = privateLinkConfigurationId,
            privateLinkConfigurationName = privateLinkConfigurationName,
            publicIpAddressId = publicIpAddressId,
            subnetId = subnetId,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy