com.pulumi.azurenative.network.kotlin.inputs.HubPublicIPAddressesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.HubPublicIPAddressesArgs.builder
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.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Public IP addresses associated with azure firewall.
* @property addresses The list of Public IP addresses associated with azure firewall or IP addresses to be retained.
* @property count The number of Public IP addresses associated with azure firewall.
*/
public data class HubPublicIPAddressesArgs(
public val addresses: Output>? = null,
public val count: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.HubPublicIPAddressesArgs =
com.pulumi.azurenative.network.inputs.HubPublicIPAddressesArgs.builder()
.addresses(
addresses?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.count(count?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [HubPublicIPAddressesArgs].
*/
@PulumiTagMarker
public class HubPublicIPAddressesArgsBuilder internal constructor() {
private var addresses: Output>? = null
private var count: Output? = null
/**
* @param value The list of Public IP addresses associated with azure firewall or IP addresses to be retained.
*/
@JvmName("tmixvnbweqlquesg")
public suspend fun addresses(`value`: Output>) {
this.addresses = value
}
@JvmName("dqoluawyescvvjoy")
public suspend fun addresses(vararg values: Output) {
this.addresses = Output.all(values.asList())
}
/**
* @param values The list of Public IP addresses associated with azure firewall or IP addresses to be retained.
*/
@JvmName("pjlkswrcqgatpupo")
public suspend fun addresses(values: List