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

com.pulumi.azure.network.kotlin.inputs.FirewallManagementIpConfigurationArgs.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.FirewallManagementIpConfigurationArgs.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 name Specifies the name of the IP Configuration.
 * @property privateIpAddress The private IP address associated with the Firewall.
 * @property publicIpAddressId The ID of the Public IP Address associated with the firewall.
 * > **NOTE** The Public IP must have a `Static` allocation and `Standard` SKU.
 * @property subnetId Reference to the subnet associated with the IP Configuration. Changing this forces a new resource to be created.
 * > **NOTE** The Management Subnet used for the Firewall must have the name `AzureFirewallManagementSubnet` and the subnet mask must be at least a `/26`.
 */
public data class FirewallManagementIpConfigurationArgs(
    public val name: Output,
    public val privateIpAddress: Output? = null,
    public val publicIpAddressId: Output,
    public val subnetId: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.network.inputs.FirewallManagementIpConfigurationArgs =
        com.pulumi.azure.network.inputs.FirewallManagementIpConfigurationArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .privateIpAddress(privateIpAddress?.applyValue({ args0 -> args0 }))
            .publicIpAddressId(publicIpAddressId.applyValue({ args0 -> args0 }))
            .subnetId(subnetId.applyValue({ args0 -> args0 })).build()
}

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

    private var privateIpAddress: Output? = null

    private var publicIpAddressId: Output? = null

    private var subnetId: Output? = null

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

    /**
     * @param value The private IP address associated with the Firewall.
     */
    @JvmName("tbfhigabljkmloiv")
    public suspend fun privateIpAddress(`value`: Output) {
        this.privateIpAddress = value
    }

    /**
     * @param value The ID of the Public IP Address associated with the firewall.
     * > **NOTE** The Public IP must have a `Static` allocation and `Standard` SKU.
     */
    @JvmName("rfxiomcwryfgmgbx")
    public suspend fun publicIpAddressId(`value`: Output) {
        this.publicIpAddressId = value
    }

    /**
     * @param value Reference to the subnet associated with the IP Configuration. Changing this forces a new resource to be created.
     * > **NOTE** The Management Subnet used for the Firewall must have the name `AzureFirewallManagementSubnet` and the subnet mask must be at least a `/26`.
     */
    @JvmName("uhdoecjvxnyoaxba")
    public suspend fun subnetId(`value`: Output) {
        this.subnetId = value
    }

    /**
     * @param value Specifies the name of the IP Configuration.
     */
    @JvmName("oyaqccnmtcbelvaq")
    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 associated with the Firewall.
     */
    @JvmName("fyqroggwfyvguwbn")
    public suspend fun privateIpAddress(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.privateIpAddress = mapped
    }

    /**
     * @param value The ID of the Public IP Address associated with the firewall.
     * > **NOTE** The Public IP must have a `Static` allocation and `Standard` SKU.
     */
    @JvmName("smbohrjblsbdcnot")
    public suspend fun publicIpAddressId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.publicIpAddressId = mapped
    }

    /**
     * @param value Reference to the subnet associated with the IP Configuration. Changing this forces a new resource to be created.
     * > **NOTE** The Management Subnet used for the Firewall must have the name `AzureFirewallManagementSubnet` and the subnet mask must be at least a `/26`.
     */
    @JvmName("edccqldkvqvieyix")
    public suspend fun subnetId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.subnetId = mapped
    }

    internal fun build(): FirewallManagementIpConfigurationArgs =
        FirewallManagementIpConfigurationArgs(
            name = name ?: throw PulumiNullFieldException("name"),
            privateIpAddress = privateIpAddress,
            publicIpAddressId = publicIpAddressId ?: throw PulumiNullFieldException("publicIpAddressId"),
            subnetId = subnetId ?: throw PulumiNullFieldException("subnetId"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy