![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.hardwaresecuritymodules.kotlin.inputs.NetworkProfileArgs.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.hardwaresecuritymodules.kotlin.inputs
import com.pulumi.azurenative.hardwaresecuritymodules.inputs.NetworkProfileArgs.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.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The network profile definition.
* @property networkInterfaces Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM.
* @property subnet Specifies the identifier of the subnet.
*/
public data class NetworkProfileArgs(
public val networkInterfaces: Output>? = null,
public val subnet: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.hardwaresecuritymodules.inputs.NetworkProfileArgs =
com.pulumi.azurenative.hardwaresecuritymodules.inputs.NetworkProfileArgs.builder()
.networkInterfaces(
networkInterfaces?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.subnet(subnet?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [NetworkProfileArgs].
*/
@PulumiTagMarker
public class NetworkProfileArgsBuilder internal constructor() {
private var networkInterfaces: Output>? = null
private var subnet: Output? = null
/**
* @param value Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM.
*/
@JvmName("kewjhcwdpmmxkqdu")
public suspend fun networkInterfaces(`value`: Output>) {
this.networkInterfaces = value
}
@JvmName("ihvqeegjimidsbmb")
public suspend fun networkInterfaces(vararg values: Output) {
this.networkInterfaces = Output.all(values.asList())
}
/**
* @param values Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM.
*/
@JvmName("efxupiaxsttwtgix")
public suspend fun networkInterfaces(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy