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

com.pulumi.azure.paloalto.kotlin.NextGenerationFirewallVirtualHubLocalRulestackArgs.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.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.paloalto.kotlin

import com.pulumi.azure.paloalto.NextGenerationFirewallVirtualHubLocalRulestackArgs.builder
import com.pulumi.azure.paloalto.kotlin.inputs.NextGenerationFirewallVirtualHubLocalRulestackDestinationNatArgs
import com.pulumi.azure.paloalto.kotlin.inputs.NextGenerationFirewallVirtualHubLocalRulestackDestinationNatArgsBuilder
import com.pulumi.azure.paloalto.kotlin.inputs.NextGenerationFirewallVirtualHubLocalRulestackDnsSettingsArgs
import com.pulumi.azure.paloalto.kotlin.inputs.NextGenerationFirewallVirtualHubLocalRulestackDnsSettingsArgsBuilder
import com.pulumi.azure.paloalto.kotlin.inputs.NextGenerationFirewallVirtualHubLocalRulestackNetworkProfileArgs
import com.pulumi.azure.paloalto.kotlin.inputs.NextGenerationFirewallVirtualHubLocalRulestackNetworkProfileArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 *
 * @property destinationNats
 * @property dnsSettings
 * @property name
 * @property networkProfile
 * @property resourceGroupName
 * @property rulestackId
 * @property tags
 */
public data class NextGenerationFirewallVirtualHubLocalRulestackArgs(
    public val destinationNats:
    Output>? = null,
    public val dnsSettings: Output? =
        null,
    public val name: Output? = null,
    public val networkProfile:
    Output? = null,
    public val resourceGroupName: Output? = null,
    public val rulestackId: Output? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.paloalto.NextGenerationFirewallVirtualHubLocalRulestackArgs =
        com.pulumi.azure.paloalto.NextGenerationFirewallVirtualHubLocalRulestackArgs.builder()
            .destinationNats(
                destinationNats?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .dnsSettings(dnsSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .name(name?.applyValue({ args0 -> args0 }))
            .networkProfile(networkProfile?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 }))
            .rulestackId(rulestackId?.applyValue({ args0 -> args0 }))
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

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

    private var dnsSettings: Output? =
        null

    private var name: Output? = null

    private var networkProfile:
        Output? = null

    private var resourceGroupName: Output? = null

    private var rulestackId: Output? = null

    private var tags: Output>? = null

    /**
     * @param value
     */
    @JvmName("wosikdqjphkkncjk")
    public suspend
    fun destinationNats(`value`: Output>) {
        this.destinationNats = value
    }

    @JvmName("hgjpanhjambqsmsc")
    public suspend fun destinationNats(
        vararg
        values: Output,
    ) {
        this.destinationNats = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("fxojtimecuceldpq")
    public suspend
    fun destinationNats(values: List>) {
        this.destinationNats = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("kifulnrsrvxiqhtd")
    public suspend
    fun dnsSettings(`value`: Output) {
        this.dnsSettings = value
    }

    /**
     * @param value
     */
    @JvmName("famwbgpiwmlmikjx")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value
     */
    @JvmName("cbctixdoqxhadxfq")
    public suspend
    fun networkProfile(`value`: Output) {
        this.networkProfile = value
    }

    /**
     * @param value
     */
    @JvmName("gboycrvoaockdxyw")
    public suspend fun resourceGroupName(`value`: Output) {
        this.resourceGroupName = value
    }

    /**
     * @param value
     */
    @JvmName("namdtbltjvqmebdm")
    public suspend fun rulestackId(`value`: Output) {
        this.rulestackId = value
    }

    /**
     * @param value
     */
    @JvmName("wojhooexcagexnor")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value
     */
    @JvmName("istdgtwjdxpcyfjd")
    public suspend
    fun destinationNats(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.destinationNats = mapped
    }

    /**
     * @param argument
     */
    @JvmName("cluxkgonfudblgcl")
    public suspend
    fun destinationNats(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            NextGenerationFirewallVirtualHubLocalRulestackDestinationNatArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.destinationNats = mapped
    }

    /**
     * @param argument
     */
    @JvmName("immdktsnifseecwq")
    public suspend fun destinationNats(
        vararg
        argument: suspend NextGenerationFirewallVirtualHubLocalRulestackDestinationNatArgsBuilder.() -> Unit,
    ) {
        val toBeMapped = argument.toList().map {
            NextGenerationFirewallVirtualHubLocalRulestackDestinationNatArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.destinationNats = mapped
    }

    /**
     * @param argument
     */
    @JvmName("dhtkktdkdgkgfpwn")
    public suspend
    fun destinationNats(argument: suspend NextGenerationFirewallVirtualHubLocalRulestackDestinationNatArgsBuilder.() -> Unit) {
        val toBeMapped =
            listOf(
                NextGenerationFirewallVirtualHubLocalRulestackDestinationNatArgsBuilder().applySuspend
                    { argument() }.build(),
            )
        val mapped = of(toBeMapped)
        this.destinationNats = mapped
    }

    /**
     * @param values
     */
    @JvmName("exkoxhwswkrwiabm")
    public suspend fun destinationNats(
        vararg
        values: NextGenerationFirewallVirtualHubLocalRulestackDestinationNatArgs,
    ) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.destinationNats = mapped
    }

    /**
     * @param value
     */
    @JvmName("jjijhhvxnqxqliuw")
    public suspend
    fun dnsSettings(`value`: NextGenerationFirewallVirtualHubLocalRulestackDnsSettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dnsSettings = mapped
    }

    /**
     * @param argument
     */
    @JvmName("aeceopplswmeqnfa")
    public suspend
    fun dnsSettings(argument: suspend NextGenerationFirewallVirtualHubLocalRulestackDnsSettingsArgsBuilder.() -> Unit) {
        val toBeMapped =
            NextGenerationFirewallVirtualHubLocalRulestackDnsSettingsArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.dnsSettings = mapped
    }

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

    /**
     * @param value
     */
    @JvmName("hsqvucvvdnftfito")
    public suspend
    fun networkProfile(`value`: NextGenerationFirewallVirtualHubLocalRulestackNetworkProfileArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.networkProfile = mapped
    }

    /**
     * @param argument
     */
    @JvmName("grkvdwxojbjoankv")
    public suspend
    fun networkProfile(argument: suspend NextGenerationFirewallVirtualHubLocalRulestackNetworkProfileArgsBuilder.() -> Unit) {
        val toBeMapped =
            NextGenerationFirewallVirtualHubLocalRulestackNetworkProfileArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.networkProfile = mapped
    }

    /**
     * @param value
     */
    @JvmName("dtytsnvtlxourwqx")
    public suspend fun resourceGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceGroupName = mapped
    }

    /**
     * @param value
     */
    @JvmName("mnoxippnfmthltkl")
    public suspend fun rulestackId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.rulestackId = mapped
    }

    /**
     * @param value
     */
    @JvmName("syblbkmbyrvhafpp")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values
     */
    @JvmName("uyuiighapdkaiuju")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    internal fun build(): NextGenerationFirewallVirtualHubLocalRulestackArgs =
        NextGenerationFirewallVirtualHubLocalRulestackArgs(
            destinationNats = destinationNats,
            dnsSettings = dnsSettings,
            name = name,
            networkProfile = networkProfile,
            resourceGroupName = resourceGroupName,
            rulestackId = rulestackId,
            tags = tags,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy