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

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

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

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

import com.pulumi.azure.network.inputs.ApplicationGatewayPrivateLinkConfigurationIpConfigurationArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property name The name of the IP configuration.
 * @property primary Is this the Primary IP Configuration?
 * @property privateIpAddress The Static IP Address which should be used.
 * @property privateIpAddressAllocation The allocation method used for the Private IP Address. Possible values are `Dynamic` and `Static`.
 * @property subnetId The ID of the subnet the private link configuration should connect to.
 */
public data class ApplicationGatewayPrivateLinkConfigurationIpConfigurationArgs(
    public val name: Output,
    public val primary: Output,
    public val privateIpAddress: Output? = null,
    public val privateIpAddressAllocation: Output,
    public val subnetId: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.network.inputs.ApplicationGatewayPrivateLinkConfigurationIpConfigurationArgs =
        com.pulumi.azure.network.inputs.ApplicationGatewayPrivateLinkConfigurationIpConfigurationArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .primary(primary.applyValue({ args0 -> args0 }))
            .privateIpAddress(privateIpAddress?.applyValue({ args0 -> args0 }))
            .privateIpAddressAllocation(privateIpAddressAllocation.applyValue({ args0 -> args0 }))
            .subnetId(subnetId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ApplicationGatewayPrivateLinkConfigurationIpConfigurationArgs].
 */
@PulumiTagMarker
public class ApplicationGatewayPrivateLinkConfigurationIpConfigurationArgsBuilder internal constructor() {
    private var name: Output? = null

    private var primary: Output? = null

    private var privateIpAddress: Output? = null

    private var privateIpAddressAllocation: Output? = null

    private var subnetId: Output? = null

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

    /**
     * @param value Is this the Primary IP Configuration?
     */
    @JvmName("djrxtpebmgcmqcnx")
    public suspend fun primary(`value`: Output) {
        this.primary = value
    }

    /**
     * @param value The Static IP Address which should be used.
     */
    @JvmName("owyfxdvkliltbgyt")
    public suspend fun privateIpAddress(`value`: Output) {
        this.privateIpAddress = value
    }

    /**
     * @param value The allocation method used for the Private IP Address. Possible values are `Dynamic` and `Static`.
     */
    @JvmName("ntmvcvoaxgobpvvv")
    public suspend fun privateIpAddressAllocation(`value`: Output) {
        this.privateIpAddressAllocation = value
    }

    /**
     * @param value The ID of the subnet the private link configuration should connect to.
     */
    @JvmName("chtffjpwsecrgoxn")
    public suspend fun subnetId(`value`: Output) {
        this.subnetId = value
    }

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

    /**
     * @param value Is this the Primary IP Configuration?
     */
    @JvmName("dddsgwcjdabuvhym")
    public suspend fun primary(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.primary = mapped
    }

    /**
     * @param value The Static IP Address which should be used.
     */
    @JvmName("jdlsuyxemcwwmycq")
    public suspend fun privateIpAddress(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.privateIpAddress = mapped
    }

    /**
     * @param value The allocation method used for the Private IP Address. Possible values are `Dynamic` and `Static`.
     */
    @JvmName("gdcnefgidwjvcwwb")
    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 subnet the private link configuration should connect to.
     */
    @JvmName("hjcjoeqiundgnqcy")
    public suspend fun subnetId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.subnetId = mapped
    }

    internal fun build(): ApplicationGatewayPrivateLinkConfigurationIpConfigurationArgs =
        ApplicationGatewayPrivateLinkConfigurationIpConfigurationArgs(
            name = name ?: throw PulumiNullFieldException("name"),
            primary = primary ?: throw PulumiNullFieldException("primary"),
            privateIpAddress = privateIpAddress,
            privateIpAddressAllocation = privateIpAddressAllocation ?: throw
                PulumiNullFieldException("privateIpAddressAllocation"),
            subnetId = subnetId ?: throw PulumiNullFieldException("subnetId"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy