com.pulumi.azurenative.batch.kotlin.inputs.PublicIPAddressConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.batch.kotlin.inputs
import com.pulumi.azurenative.batch.inputs.PublicIPAddressConfigurationArgs.builder
import com.pulumi.azurenative.batch.kotlin.enums.IPAddressProvisioningType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The public IP Address configuration of the networking configuration of a Pool.
* @property ipAddressIds The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
* @property provision The default value is BatchManaged
*/
public data class PublicIPAddressConfigurationArgs(
public val ipAddressIds: Output>? = null,
public val provision: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.batch.inputs.PublicIPAddressConfigurationArgs =
com.pulumi.azurenative.batch.inputs.PublicIPAddressConfigurationArgs.builder()
.ipAddressIds(ipAddressIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.provision(provision?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [PublicIPAddressConfigurationArgs].
*/
@PulumiTagMarker
public class PublicIPAddressConfigurationArgsBuilder internal constructor() {
private var ipAddressIds: Output>? = null
private var provision: Output? = null
/**
* @param value The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
*/
@JvmName("mawmoatqxrymwjeg")
public suspend fun ipAddressIds(`value`: Output>) {
this.ipAddressIds = value
}
@JvmName("jbhwnitajfopevuu")
public suspend fun ipAddressIds(vararg values: Output) {
this.ipAddressIds = Output.all(values.asList())
}
/**
* @param values The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
*/
@JvmName("rpilnlrneudhkckd")
public suspend fun ipAddressIds(values: List