![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.azurestackhci.kotlin.inputs.InfrastructureNetworkArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.azurestackhci.kotlin.inputs
import com.pulumi.azurenative.azurestackhci.inputs.InfrastructureNetworkArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The InfrastructureNetwork of a AzureStackHCI Cluster.
* @property dnsServers IPv4 address of the DNS servers in your environment.
* @property gateway Default gateway that should be used for the provided IP address space.
* @property ipPools Range of IP addresses from which addresses are allocated for nodes within a subnet.
* @property subnetMask Subnet mask that matches the provided IP address space.
* @property useDhcp Allows customers to use DHCP for Hosts and Cluster IPs. If not declared, the deployment will default to static IPs. When true, GW and DNS servers are not required
*/
public data class InfrastructureNetworkArgs(
public val dnsServers: Output>? = null,
public val gateway: Output? = null,
public val ipPools: Output>? = null,
public val subnetMask: Output? = null,
public val useDhcp: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.azurestackhci.inputs.InfrastructureNetworkArgs =
com.pulumi.azurenative.azurestackhci.inputs.InfrastructureNetworkArgs.builder()
.dnsServers(dnsServers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.gateway(gateway?.applyValue({ args0 -> args0 }))
.ipPools(
ipPools?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.subnetMask(subnetMask?.applyValue({ args0 -> args0 }))
.useDhcp(useDhcp?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [InfrastructureNetworkArgs].
*/
@PulumiTagMarker
public class InfrastructureNetworkArgsBuilder internal constructor() {
private var dnsServers: Output>? = null
private var gateway: Output? = null
private var ipPools: Output>? = null
private var subnetMask: Output? = null
private var useDhcp: Output? = null
/**
* @param value IPv4 address of the DNS servers in your environment.
*/
@JvmName("wtdixmvrwkcqoatt")
public suspend fun dnsServers(`value`: Output>) {
this.dnsServers = value
}
@JvmName("tewpcubhaiqkrxcy")
public suspend fun dnsServers(vararg values: Output) {
this.dnsServers = Output.all(values.asList())
}
/**
* @param values IPv4 address of the DNS servers in your environment.
*/
@JvmName("rxisffcytnytrisn")
public suspend fun dnsServers(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy