com.pulumi.gcp.gkeonprem.kotlin.inputs.VMwareClusterNetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIpArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.gkeonprem.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkeonprem.inputs.VMwareClusterNetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIpArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property hostname Hostname of the machine. VM's name will be used if this field is empty.
* @property ip IP could be an IP address (like 1.2.3.4) or a CIDR (like 1.2.3.0/24).
*/
public data class VMwareClusterNetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIpArgs(
public val hostname: Output? = null,
public val ip: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.VMwareClusterNetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIpArgs =
com.pulumi.gcp.gkeonprem.inputs.VMwareClusterNetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIpArgs.builder()
.hostname(hostname?.applyValue({ args0 -> args0 }))
.ip(ip?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VMwareClusterNetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIpArgs].
*/
@PulumiTagMarker
public class VMwareClusterNetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIpArgsBuilder internal constructor() {
private var hostname: Output? = null
private var ip: Output? = null
/**
* @param value Hostname of the machine. VM's name will be used if this field is empty.
*/
@JvmName("ofpdphbhyoxjbvob")
public suspend fun hostname(`value`: Output) {
this.hostname = value
}
/**
* @param value IP could be an IP address (like 1.2.3.4) or a CIDR (like 1.2.3.0/24).
*/
@JvmName("ukrxhiumvwkxjipn")
public suspend fun ip(`value`: Output) {
this.ip = value
}
/**
* @param value Hostname of the machine. VM's name will be used if this field is empty.
*/
@JvmName("vljyhuhnherkqyga")
public suspend fun hostname(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.hostname = mapped
}
/**
* @param value IP could be an IP address (like 1.2.3.4) or a CIDR (like 1.2.3.0/24).
*/
@JvmName("wvlucsavhsbisyjb")
public suspend fun ip(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ip = mapped
}
internal fun build(): VMwareClusterNetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIpArgs =
VMwareClusterNetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIpArgs(
hostname = hostname,
ip = ip,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy