
com.pulumi.azurenative.baremetalinfrastructure.kotlin.inputs.NetworkInterfaceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.baremetalinfrastructure.kotlin.inputs
import com.pulumi.azurenative.baremetalinfrastructure.inputs.NetworkInterfaceArgs.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
/**
* Specifies the network interfaces of a bare metal resource.
* @property ipAddress Specifies the IP address of the network interface.
*/
public data class NetworkInterfaceArgs(
public val ipAddress: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.baremetalinfrastructure.inputs.NetworkInterfaceArgs = com.pulumi.azurenative.baremetalinfrastructure.inputs.NetworkInterfaceArgs.builder()
.ipAddress(ipAddress?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NetworkInterfaceArgs].
*/
@PulumiTagMarker
public class NetworkInterfaceArgsBuilder internal constructor() {
private var ipAddress: Output? = null
/**
* @param value Specifies the IP address of the network interface.
*/
@JvmName("drahijctbpgycyhw")
public suspend fun ipAddress(`value`: Output) {
this.ipAddress = value
}
/**
* @param value Specifies the IP address of the network interface.
*/
@JvmName("sptdebmmenachdqq")
public suspend fun ipAddress(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ipAddress = mapped
}
internal fun build(): NetworkInterfaceArgs = NetworkInterfaceArgs(
ipAddress = ipAddress,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy