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

com.pulumi.azurenative.network.kotlin.inputs.PublicIPAddressArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.network.kotlin.inputs

import com.pulumi.azurenative.network.inputs.PublicIPAddressArgs.builder
import com.pulumi.azurenative.network.kotlin.enums.DeleteOptions
import com.pulumi.azurenative.network.kotlin.enums.IPAllocationMethod
import com.pulumi.azurenative.network.kotlin.enums.IPVersion
import com.pulumi.azurenative.network.kotlin.enums.PublicIPAddressMigrationPhase
import com.pulumi.core.Either
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.Int
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Public IP address resource.
 * @property ddosSettings The DDoS protection custom policy associated with the public IP address.
 * @property deleteOption Specify what happens to the public IP address when the VM using it is deleted
 * @property dnsSettings The FQDN of the DNS record associated with the public IP address.
 * @property extendedLocation The extended location of the public ip address.
 * @property id Resource ID.
 * @property idleTimeoutInMinutes The idle timeout of the public IP address.
 * @property ipAddress The IP address associated with the public IP address resource.
 * @property ipTags The list of tags associated with the public IP address.
 * @property linkedPublicIPAddress The linked public IP address of the public IP address resource.
 * @property location Resource location.
 * @property migrationPhase Migration phase of Public IP Address.
 * @property natGateway The NatGateway for the Public IP address.
 * @property publicIPAddressVersion The public IP address version.
 * @property publicIPAllocationMethod The public IP address allocation method.
 * @property publicIPPrefix The Public IP Prefix this Public IP Address should be allocated from.
 * @property servicePublicIPAddress The service public IP address of the public IP address resource.
 * @property sku The public IP address SKU.
 * @property tags Resource tags.
 * @property zones A list of availability zones denoting the IP allocated for the resource needs to come from.
 */
public data class PublicIPAddressArgs(
    public val ddosSettings: Output? = null,
    public val deleteOption: Output>? = null,
    public val dnsSettings: Output? = null,
    public val extendedLocation: Output? = null,
    public val id: Output? = null,
    public val idleTimeoutInMinutes: Output? = null,
    public val ipAddress: Output? = null,
    public val ipTags: Output>? = null,
    public val linkedPublicIPAddress: Output? = null,
    public val location: Output? = null,
    public val migrationPhase: Output>? = null,
    public val natGateway: Output? = null,
    public val publicIPAddressVersion: Output>? = null,
    public val publicIPAllocationMethod: Output>? = null,
    public val publicIPPrefix: Output? = null,
    public val servicePublicIPAddress: Output? = null,
    public val sku: Output? = null,
    public val tags: Output>? = null,
    public val zones: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.network.inputs.PublicIPAddressArgs =
        com.pulumi.azurenative.network.inputs.PublicIPAddressArgs.builder()
            .ddosSettings(ddosSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .deleteOption(
                deleteOption?.applyValue({ args0 ->
                    args0.transform({ args0 -> args0 }, { args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .dnsSettings(dnsSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .extendedLocation(extendedLocation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .id(id?.applyValue({ args0 -> args0 }))
            .idleTimeoutInMinutes(idleTimeoutInMinutes?.applyValue({ args0 -> args0 }))
            .ipAddress(ipAddress?.applyValue({ args0 -> args0 }))
            .ipTags(ipTags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .linkedPublicIPAddress(
                linkedPublicIPAddress?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .location(location?.applyValue({ args0 -> args0 }))
            .migrationPhase(
                migrationPhase?.applyValue({ args0 ->
                    args0.transform({ args0 -> args0 }, { args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .natGateway(natGateway?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .publicIPAddressVersion(
                publicIPAddressVersion?.applyValue({ args0 ->
                    args0.transform({ args0 ->
                        args0
                    }, { args0 -> args0.let({ args0 -> args0.toJava() }) })
                }),
            )
            .publicIPAllocationMethod(
                publicIPAllocationMethod?.applyValue({ args0 ->
                    args0.transform({ args0 ->
                        args0
                    }, { args0 -> args0.let({ args0 -> args0.toJava() }) })
                }),
            )
            .publicIPPrefix(publicIPPrefix?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .servicePublicIPAddress(
                servicePublicIPAddress?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .sku(sku?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() }))
            .zones(zones?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [PublicIPAddressArgs].
 */
@PulumiTagMarker
public class PublicIPAddressArgsBuilder internal constructor() {
    private var ddosSettings: Output? = null

    private var deleteOption: Output>? = null

    private var dnsSettings: Output? = null

    private var extendedLocation: Output? = null

    private var id: Output? = null

    private var idleTimeoutInMinutes: Output? = null

    private var ipAddress: Output? = null

    private var ipTags: Output>? = null

    private var linkedPublicIPAddress: Output? = null

    private var location: Output? = null

    private var migrationPhase: Output>? = null

    private var natGateway: Output? = null

    private var publicIPAddressVersion: Output>? = null

    private var publicIPAllocationMethod: Output>? = null

    private var publicIPPrefix: Output? = null

    private var servicePublicIPAddress: Output? = null

    private var sku: Output? = null

    private var tags: Output>? = null

    private var zones: Output>? = null

    /**
     * @param value The DDoS protection custom policy associated with the public IP address.
     */
    @JvmName("dkfssniitfjwbbcy")
    public suspend fun ddosSettings(`value`: Output) {
        this.ddosSettings = value
    }

    /**
     * @param value Specify what happens to the public IP address when the VM using it is deleted
     */
    @JvmName("eervmccnbyxnvdpm")
    public suspend fun deleteOption(`value`: Output>) {
        this.deleteOption = value
    }

    /**
     * @param value The FQDN of the DNS record associated with the public IP address.
     */
    @JvmName("wcyixfygsueicbjr")
    public suspend fun dnsSettings(`value`: Output) {
        this.dnsSettings = value
    }

    /**
     * @param value The extended location of the public ip address.
     */
    @JvmName("tlfxwgrnbeojybnm")
    public suspend fun extendedLocation(`value`: Output) {
        this.extendedLocation = value
    }

    /**
     * @param value Resource ID.
     */
    @JvmName("rbdeemvlaoxolwyi")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value The idle timeout of the public IP address.
     */
    @JvmName("rifsylujgkuxxknf")
    public suspend fun idleTimeoutInMinutes(`value`: Output) {
        this.idleTimeoutInMinutes = value
    }

    /**
     * @param value The IP address associated with the public IP address resource.
     */
    @JvmName("knulqsnsucwjxkub")
    public suspend fun ipAddress(`value`: Output) {
        this.ipAddress = value
    }

    /**
     * @param value The list of tags associated with the public IP address.
     */
    @JvmName("adpjbuuvuetivjsj")
    public suspend fun ipTags(`value`: Output>) {
        this.ipTags = value
    }

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

    /**
     * @param values The list of tags associated with the public IP address.
     */
    @JvmName("uoepljagiyvwgnvo")
    public suspend fun ipTags(values: List>) {
        this.ipTags = Output.all(values)
    }

    /**
     * @param value The linked public IP address of the public IP address resource.
     */
    @JvmName("ootyfvmpkbcqtfkh")
    public suspend fun linkedPublicIPAddress(`value`: Output) {
        this.linkedPublicIPAddress = value
    }

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

    /**
     * @param value Migration phase of Public IP Address.
     */
    @JvmName("abtskcjicchyrcjd")
    public suspend fun migrationPhase(`value`: Output>) {
        this.migrationPhase = value
    }

    /**
     * @param value The NatGateway for the Public IP address.
     */
    @JvmName("qbdnvpqddpqugbbq")
    public suspend fun natGateway(`value`: Output) {
        this.natGateway = value
    }

    /**
     * @param value The public IP address version.
     */
    @JvmName("whyugtubylcxvxxc")
    public suspend fun publicIPAddressVersion(`value`: Output>) {
        this.publicIPAddressVersion = value
    }

    /**
     * @param value The public IP address allocation method.
     */
    @JvmName("dtkqjvuayllfqtvg")
    public suspend fun publicIPAllocationMethod(`value`: Output>) {
        this.publicIPAllocationMethod = value
    }

    /**
     * @param value The Public IP Prefix this Public IP Address should be allocated from.
     */
    @JvmName("lathxoacynqbisqd")
    public suspend fun publicIPPrefix(`value`: Output) {
        this.publicIPPrefix = value
    }

    /**
     * @param value The service public IP address of the public IP address resource.
     */
    @JvmName("cjmwcqgfmljhqfbe")
    public suspend fun servicePublicIPAddress(`value`: Output) {
        this.servicePublicIPAddress = value
    }

    /**
     * @param value The public IP address SKU.
     */
    @JvmName("ltbswohvngvludae")
    public suspend fun sku(`value`: Output) {
        this.sku = value
    }

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

    /**
     * @param value A list of availability zones denoting the IP allocated for the resource needs to come from.
     */
    @JvmName("sukcbyovcgqjxkgb")
    public suspend fun zones(`value`: Output>) {
        this.zones = value
    }

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

    /**
     * @param values A list of availability zones denoting the IP allocated for the resource needs to come from.
     */
    @JvmName("lrffcmpkvnxmsqns")
    public suspend fun zones(values: List>) {
        this.zones = Output.all(values)
    }

    /**
     * @param value The DDoS protection custom policy associated with the public IP address.
     */
    @JvmName("iqmhbsejpaxrioxe")
    public suspend fun ddosSettings(`value`: DdosSettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ddosSettings = mapped
    }

    /**
     * @param argument The DDoS protection custom policy associated with the public IP address.
     */
    @JvmName("hnwwgegiomxbhyvo")
    public suspend fun ddosSettings(argument: suspend DdosSettingsArgsBuilder.() -> Unit) {
        val toBeMapped = DdosSettingsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.ddosSettings = mapped
    }

    /**
     * @param value Specify what happens to the public IP address when the VM using it is deleted
     */
    @JvmName("rghmxrjfctybqbsw")
    public suspend fun deleteOption(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deleteOption = mapped
    }

    /**
     * @param value Specify what happens to the public IP address when the VM using it is deleted
     */
    @JvmName("kfbocclcxxjqcmso")
    public fun deleteOption(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.deleteOption = mapped
    }

    /**
     * @param value Specify what happens to the public IP address when the VM using it is deleted
     */
    @JvmName("sajimdghphxvspiv")
    public fun deleteOption(`value`: DeleteOptions) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.deleteOption = mapped
    }

    /**
     * @param value The FQDN of the DNS record associated with the public IP address.
     */
    @JvmName("lyyfwjjmyxjopqbm")
    public suspend fun dnsSettings(`value`: PublicIPAddressDnsSettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dnsSettings = mapped
    }

    /**
     * @param argument The FQDN of the DNS record associated with the public IP address.
     */
    @JvmName("bbslpwkhigimteki")
    public suspend fun dnsSettings(argument: suspend PublicIPAddressDnsSettingsArgsBuilder.() -> Unit) {
        val toBeMapped = PublicIPAddressDnsSettingsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.dnsSettings = mapped
    }

    /**
     * @param value The extended location of the public ip address.
     */
    @JvmName("bjpadpulstshunyn")
    public suspend fun extendedLocation(`value`: ExtendedLocationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.extendedLocation = mapped
    }

    /**
     * @param argument The extended location of the public ip address.
     */
    @JvmName("bvxkwsbtmowwfiek")
    public suspend fun extendedLocation(argument: suspend ExtendedLocationArgsBuilder.() -> Unit) {
        val toBeMapped = ExtendedLocationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.extendedLocation = mapped
    }

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

    /**
     * @param value The idle timeout of the public IP address.
     */
    @JvmName("qmldcptnvsboskll")
    public suspend fun idleTimeoutInMinutes(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.idleTimeoutInMinutes = mapped
    }

    /**
     * @param value The IP address associated with the public IP address resource.
     */
    @JvmName("odghkbiquyhxxmno")
    public suspend fun ipAddress(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ipAddress = mapped
    }

    /**
     * @param value The list of tags associated with the public IP address.
     */
    @JvmName("ucaqdsqlxlfarvsv")
    public suspend fun ipTags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ipTags = mapped
    }

    /**
     * @param argument The list of tags associated with the public IP address.
     */
    @JvmName("instukqoyoqaphae")
    public suspend fun ipTags(argument: List Unit>) {
        val toBeMapped = argument.toList().map { IpTagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.ipTags = mapped
    }

    /**
     * @param argument The list of tags associated with the public IP address.
     */
    @JvmName("pbluujxwpoyivuef")
    public suspend fun ipTags(vararg argument: suspend IpTagArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { IpTagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.ipTags = mapped
    }

    /**
     * @param argument The list of tags associated with the public IP address.
     */
    @JvmName("bidwltwtspblikqf")
    public suspend fun ipTags(argument: suspend IpTagArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(IpTagArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.ipTags = mapped
    }

    /**
     * @param values The list of tags associated with the public IP address.
     */
    @JvmName("onuqqykliulioyxt")
    public suspend fun ipTags(vararg values: IpTagArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ipTags = mapped
    }

    /**
     * @param value The linked public IP address of the public IP address resource.
     */
    @JvmName("bvtwfbfepcdwtgxt")
    public suspend fun linkedPublicIPAddress(`value`: PublicIPAddressArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.linkedPublicIPAddress = mapped
    }

    /**
     * @param argument The linked public IP address of the public IP address resource.
     */
    @JvmName("asrbrpugsgbtlqqc")
    public suspend fun linkedPublicIPAddress(argument: suspend PublicIPAddressArgsBuilder.() -> Unit) {
        val toBeMapped = PublicIPAddressArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.linkedPublicIPAddress = mapped
    }

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

    /**
     * @param value Migration phase of Public IP Address.
     */
    @JvmName("iooudsasoeooyjcs")
    public suspend fun migrationPhase(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.migrationPhase = mapped
    }

    /**
     * @param value Migration phase of Public IP Address.
     */
    @JvmName("gsqxaihnujckjfmv")
    public fun migrationPhase(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.migrationPhase = mapped
    }

    /**
     * @param value Migration phase of Public IP Address.
     */
    @JvmName("toflyfmwrmnadope")
    public fun migrationPhase(`value`: PublicIPAddressMigrationPhase) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.migrationPhase = mapped
    }

    /**
     * @param value The NatGateway for the Public IP address.
     */
    @JvmName("wvqohcdvilrmbvlk")
    public suspend fun natGateway(`value`: NatGatewayArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.natGateway = mapped
    }

    /**
     * @param argument The NatGateway for the Public IP address.
     */
    @JvmName("vnotrsbdnivwuvvw")
    public suspend fun natGateway(argument: suspend NatGatewayArgsBuilder.() -> Unit) {
        val toBeMapped = NatGatewayArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.natGateway = mapped
    }

    /**
     * @param value The public IP address version.
     */
    @JvmName("dybmhbdyxcaodali")
    public suspend fun publicIPAddressVersion(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.publicIPAddressVersion = mapped
    }

    /**
     * @param value The public IP address version.
     */
    @JvmName("cukmfqfothlmmbkk")
    public fun publicIPAddressVersion(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.publicIPAddressVersion = mapped
    }

    /**
     * @param value The public IP address version.
     */
    @JvmName("ychohywxdjekdont")
    public fun publicIPAddressVersion(`value`: IPVersion) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.publicIPAddressVersion = mapped
    }

    /**
     * @param value The public IP address allocation method.
     */
    @JvmName("tactscwcmxroogdw")
    public suspend fun publicIPAllocationMethod(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.publicIPAllocationMethod = mapped
    }

    /**
     * @param value The public IP address allocation method.
     */
    @JvmName("xeojhoynapyisybf")
    public fun publicIPAllocationMethod(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.publicIPAllocationMethod = mapped
    }

    /**
     * @param value The public IP address allocation method.
     */
    @JvmName("evetdyfvgatpabrs")
    public fun publicIPAllocationMethod(`value`: IPAllocationMethod) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.publicIPAllocationMethod = mapped
    }

    /**
     * @param value The Public IP Prefix this Public IP Address should be allocated from.
     */
    @JvmName("ogqugxbxrxfptuwh")
    public suspend fun publicIPPrefix(`value`: SubResourceArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.publicIPPrefix = mapped
    }

    /**
     * @param argument The Public IP Prefix this Public IP Address should be allocated from.
     */
    @JvmName("xamvoxsqjbndqtmx")
    public suspend fun publicIPPrefix(argument: suspend SubResourceArgsBuilder.() -> Unit) {
        val toBeMapped = SubResourceArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.publicIPPrefix = mapped
    }

    /**
     * @param value The service public IP address of the public IP address resource.
     */
    @JvmName("gvrshfewgbnqbfud")
    public suspend fun servicePublicIPAddress(`value`: PublicIPAddressArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.servicePublicIPAddress = mapped
    }

    /**
     * @param argument The service public IP address of the public IP address resource.
     */
    @JvmName("jkqnqkabygmfefaf")
    public suspend fun servicePublicIPAddress(argument: suspend PublicIPAddressArgsBuilder.() -> Unit) {
        val toBeMapped = PublicIPAddressArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.servicePublicIPAddress = mapped
    }

    /**
     * @param value The public IP address SKU.
     */
    @JvmName("hofjobnligdwntwr")
    public suspend fun sku(`value`: PublicIPAddressSkuArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sku = mapped
    }

    /**
     * @param argument The public IP address SKU.
     */
    @JvmName("scdsgwolldcdopdb")
    public suspend fun sku(argument: suspend PublicIPAddressSkuArgsBuilder.() -> Unit) {
        val toBeMapped = PublicIPAddressSkuArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.sku = mapped
    }

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

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

    /**
     * @param value A list of availability zones denoting the IP allocated for the resource needs to come from.
     */
    @JvmName("ocvycolwojdpenrv")
    public suspend fun zones(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.zones = mapped
    }

    /**
     * @param values A list of availability zones denoting the IP allocated for the resource needs to come from.
     */
    @JvmName("omolgfblfhxcjcal")
    public suspend fun zones(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.zones = mapped
    }

    internal fun build(): PublicIPAddressArgs = PublicIPAddressArgs(
        ddosSettings = ddosSettings,
        deleteOption = deleteOption,
        dnsSettings = dnsSettings,
        extendedLocation = extendedLocation,
        id = id,
        idleTimeoutInMinutes = idleTimeoutInMinutes,
        ipAddress = ipAddress,
        ipTags = ipTags,
        linkedPublicIPAddress = linkedPublicIPAddress,
        location = location,
        migrationPhase = migrationPhase,
        natGateway = natGateway,
        publicIPAddressVersion = publicIPAddressVersion,
        publicIPAllocationMethod = publicIPAllocationMethod,
        publicIPPrefix = publicIPPrefix,
        servicePublicIPAddress = servicePublicIPAddress,
        sku = sku,
        tags = tags,
        zones = zones,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy