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

com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayBackendAddressPoolArgs.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.ApplicationGatewayBackendAddressPoolArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property fqdns A list of FQDN's which should be part of the Backend Address Pool.
 * @property id The ID of the Rewrite Rule Set
 * @property ipAddresses A list of IP Addresses which should be part of the Backend Address Pool.
 * @property name The name of the Backend Address Pool.
 */
public data class ApplicationGatewayBackendAddressPoolArgs(
    public val fqdns: Output>? = null,
    public val id: Output? = null,
    public val ipAddresses: Output>? = null,
    public val name: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.network.inputs.ApplicationGatewayBackendAddressPoolArgs =
        com.pulumi.azure.network.inputs.ApplicationGatewayBackendAddressPoolArgs.builder()
            .fqdns(fqdns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .id(id?.applyValue({ args0 -> args0 }))
            .ipAddresses(ipAddresses?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .name(name.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ApplicationGatewayBackendAddressPoolArgs].
 */
@PulumiTagMarker
public class ApplicationGatewayBackendAddressPoolArgsBuilder internal constructor() {
    private var fqdns: Output>? = null

    private var id: Output? = null

    private var ipAddresses: Output>? = null

    private var name: Output? = null

    /**
     * @param value A list of FQDN's which should be part of the Backend Address Pool.
     */
    @JvmName("mbswerjohdydddae")
    public suspend fun fqdns(`value`: Output>) {
        this.fqdns = value
    }

    @JvmName("xapjvwlkmdffbvjn")
    public suspend fun fqdns(vararg values: Output) {
        this.fqdns = Output.all(values.asList())
    }

    /**
     * @param values A list of FQDN's which should be part of the Backend Address Pool.
     */
    @JvmName("mpihnrmrlrffpbtn")
    public suspend fun fqdns(values: List>) {
        this.fqdns = Output.all(values)
    }

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

    /**
     * @param value A list of IP Addresses which should be part of the Backend Address Pool.
     */
    @JvmName("pajhseiunmlhojtt")
    public suspend fun ipAddresses(`value`: Output>) {
        this.ipAddresses = value
    }

    @JvmName("nmhgmkpagbcxmltn")
    public suspend fun ipAddresses(vararg values: Output) {
        this.ipAddresses = Output.all(values.asList())
    }

    /**
     * @param values A list of IP Addresses which should be part of the Backend Address Pool.
     */
    @JvmName("gnmatxomphdyywjm")
    public suspend fun ipAddresses(values: List>) {
        this.ipAddresses = Output.all(values)
    }

    /**
     * @param value The name of the Backend Address Pool.
     */
    @JvmName("ydgvahntvnxdbfwv")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value A list of FQDN's which should be part of the Backend Address Pool.
     */
    @JvmName("swnyvagphckqiumy")
    public suspend fun fqdns(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fqdns = mapped
    }

    /**
     * @param values A list of FQDN's which should be part of the Backend Address Pool.
     */
    @JvmName("rvrkkqnqgdejvghx")
    public suspend fun fqdns(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.fqdns = mapped
    }

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

    /**
     * @param value A list of IP Addresses which should be part of the Backend Address Pool.
     */
    @JvmName("ksgnkhiamjobtlgh")
    public suspend fun ipAddresses(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ipAddresses = mapped
    }

    /**
     * @param values A list of IP Addresses which should be part of the Backend Address Pool.
     */
    @JvmName("nblhqaspblivyehx")
    public suspend fun ipAddresses(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ipAddresses = mapped
    }

    /**
     * @param value The name of the Backend Address Pool.
     */
    @JvmName("iwnpwwwrmydikqsq")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    internal fun build(): ApplicationGatewayBackendAddressPoolArgs =
        ApplicationGatewayBackendAddressPoolArgs(
            fqdns = fqdns,
            id = id,
            ipAddresses = ipAddresses,
            name = name ?: throw PulumiNullFieldException("name"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy