![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.kotlin.inputs.ScaleSetNetworkProfileArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.compute.kotlin.inputs
import com.pulumi.azure.compute.inputs.ScaleSetNetworkProfileArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property acceleratedNetworking Specifies whether to enable accelerated networking or not.
* @property dnsSettings A `dns_settings` block as documented below.
* @property ipConfigurations An `ip_configuration` block as documented below.
* @property ipForwarding Whether IP forwarding is enabled on this NIC. Defaults to `false`.
* @property name Specifies the name of the network interface configuration.
* @property networkSecurityGroupId Specifies the identifier for the network security group.
* @property primary Indicates whether network interfaces created from the network interface configuration will be the primary NIC of the VM.
*/
public data class ScaleSetNetworkProfileArgs(
public val acceleratedNetworking: Output? = null,
public val dnsSettings: Output? = null,
public val ipConfigurations: Output>,
public val ipForwarding: Output? = null,
public val name: Output,
public val networkSecurityGroupId: Output? = null,
public val primary: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.compute.inputs.ScaleSetNetworkProfileArgs =
com.pulumi.azure.compute.inputs.ScaleSetNetworkProfileArgs.builder()
.acceleratedNetworking(acceleratedNetworking?.applyValue({ args0 -> args0 }))
.dnsSettings(dnsSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.ipConfigurations(
ipConfigurations.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.ipForwarding(ipForwarding?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.networkSecurityGroupId(networkSecurityGroupId?.applyValue({ args0 -> args0 }))
.primary(primary.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ScaleSetNetworkProfileArgs].
*/
@PulumiTagMarker
public class ScaleSetNetworkProfileArgsBuilder internal constructor() {
private var acceleratedNetworking: Output? = null
private var dnsSettings: Output? = null
private var ipConfigurations: Output>? = null
private var ipForwarding: Output? = null
private var name: Output? = null
private var networkSecurityGroupId: Output? = null
private var primary: Output? = null
/**
* @param value Specifies whether to enable accelerated networking or not.
*/
@JvmName("fcepqxffcusodjvv")
public suspend fun acceleratedNetworking(`value`: Output) {
this.acceleratedNetworking = value
}
/**
* @param value A `dns_settings` block as documented below.
*/
@JvmName("bjqqkrdeelbupfex")
public suspend fun dnsSettings(`value`: Output) {
this.dnsSettings = value
}
/**
* @param value An `ip_configuration` block as documented below.
*/
@JvmName("xuambosoeppcbuls")
public suspend fun ipConfigurations(`value`: Output>) {
this.ipConfigurations = value
}
@JvmName("cvfeqbncwiqknuhq")
public suspend fun ipConfigurations(vararg values: Output) {
this.ipConfigurations = Output.all(values.asList())
}
/**
* @param values An `ip_configuration` block as documented below.
*/
@JvmName("ovoaocmchvrbwhju")
public suspend fun ipConfigurations(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy