com.pulumi.azurenative.azurestackhci.kotlin.inputs.IpPoolsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.azurestackhci.kotlin.inputs
import com.pulumi.azurenative.azurestackhci.inputs.IpPoolsArgs.builder
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.jvm.JvmName
/**
* The dnsServers of a device.
* @property endingAddress Ending IP address for the management network. A minimum of six free, contiguous IPv4 addresses (excluding your host IPs) are needed for infrastructure services such as clustering.
* @property startingAddress Starting IP address for the management network. A minimum of six free, contiguous IPv4 addresses (excluding your host IPs) are needed for infrastructure services such as clustering.
*/
public data class IpPoolsArgs(
public val endingAddress: Output? = null,
public val startingAddress: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.azurestackhci.inputs.IpPoolsArgs =
com.pulumi.azurenative.azurestackhci.inputs.IpPoolsArgs.builder()
.endingAddress(endingAddress?.applyValue({ args0 -> args0 }))
.startingAddress(startingAddress?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [IpPoolsArgs].
*/
@PulumiTagMarker
public class IpPoolsArgsBuilder internal constructor() {
private var endingAddress: Output? = null
private var startingAddress: Output? = null
/**
* @param value Ending IP address for the management network. A minimum of six free, contiguous IPv4 addresses (excluding your host IPs) are needed for infrastructure services such as clustering.
*/
@JvmName("dlbxdxipfoduyjtq")
public suspend fun endingAddress(`value`: Output) {
this.endingAddress = value
}
/**
* @param value Starting IP address for the management network. A minimum of six free, contiguous IPv4 addresses (excluding your host IPs) are needed for infrastructure services such as clustering.
*/
@JvmName("qtkmexlsqsktfduj")
public suspend fun startingAddress(`value`: Output) {
this.startingAddress = value
}
/**
* @param value Ending IP address for the management network. A minimum of six free, contiguous IPv4 addresses (excluding your host IPs) are needed for infrastructure services such as clustering.
*/
@JvmName("gvdpfbifvoluoxuu")
public suspend fun endingAddress(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.endingAddress = mapped
}
/**
* @param value Starting IP address for the management network. A minimum of six free, contiguous IPv4 addresses (excluding your host IPs) are needed for infrastructure services such as clustering.
*/
@JvmName("otpdsvqnpquegqlb")
public suspend fun startingAddress(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.startingAddress = mapped
}
internal fun build(): IpPoolsArgs = IpPoolsArgs(
endingAddress = endingAddress,
startingAddress = startingAddress,
)
}