![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.azurestackhci.kotlin.inputs.NicDetailArgs.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.NicDetailArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The NIC Detail of a device.
* @property adapterName Adapter Name of NIC
* @property componentId Component Id of NIC
* @property defaultGateway Default Gateway of NIC
* @property defaultIsolationId Default Isolation of Management NIC
* @property dnsServers DNS Servers for NIC
* @property driverVersion Driver Version of NIC
* @property interfaceDescription Interface Description of NIC
* @property ip4Address Subnet Mask of NIC
* @property subnetMask Subnet Mask of NIC
*/
public data class NicDetailArgs(
public val adapterName: Output,
public val componentId: Output? = null,
public val defaultGateway: Output? = null,
public val defaultIsolationId: Output? = null,
public val dnsServers: Output>? = null,
public val driverVersion: Output? = null,
public val interfaceDescription: Output? = null,
public val ip4Address: Output? = null,
public val subnetMask: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.azurestackhci.inputs.NicDetailArgs =
com.pulumi.azurenative.azurestackhci.inputs.NicDetailArgs.builder()
.adapterName(adapterName.applyValue({ args0 -> args0 }))
.componentId(componentId?.applyValue({ args0 -> args0 }))
.defaultGateway(defaultGateway?.applyValue({ args0 -> args0 }))
.defaultIsolationId(defaultIsolationId?.applyValue({ args0 -> args0 }))
.dnsServers(dnsServers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.driverVersion(driverVersion?.applyValue({ args0 -> args0 }))
.interfaceDescription(interfaceDescription?.applyValue({ args0 -> args0 }))
.ip4Address(ip4Address?.applyValue({ args0 -> args0 }))
.subnetMask(subnetMask?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NicDetailArgs].
*/
@PulumiTagMarker
public class NicDetailArgsBuilder internal constructor() {
private var adapterName: Output? = null
private var componentId: Output? = null
private var defaultGateway: Output? = null
private var defaultIsolationId: Output? = null
private var dnsServers: Output>? = null
private var driverVersion: Output? = null
private var interfaceDescription: Output? = null
private var ip4Address: Output? = null
private var subnetMask: Output? = null
/**
* @param value Adapter Name of NIC
*/
@JvmName("qixsauvhmndpxflk")
public suspend fun adapterName(`value`: Output) {
this.adapterName = value
}
/**
* @param value Component Id of NIC
*/
@JvmName("vulvipulxhfrhuhs")
public suspend fun componentId(`value`: Output) {
this.componentId = value
}
/**
* @param value Default Gateway of NIC
*/
@JvmName("rdgaebhkrbyilktu")
public suspend fun defaultGateway(`value`: Output) {
this.defaultGateway = value
}
/**
* @param value Default Isolation of Management NIC
*/
@JvmName("eaeyjcevrthhwbhs")
public suspend fun defaultIsolationId(`value`: Output) {
this.defaultIsolationId = value
}
/**
* @param value DNS Servers for NIC
*/
@JvmName("yuwqbyaetoeqncyc")
public suspend fun dnsServers(`value`: Output>) {
this.dnsServers = value
}
@JvmName("bsgcaigcyawiwcgw")
public suspend fun dnsServers(vararg values: Output) {
this.dnsServers = Output.all(values.asList())
}
/**
* @param values DNS Servers for NIC
*/
@JvmName("ojvtpuphjsislqly")
public suspend fun dnsServers(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy