![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.kotlin.inputs.WindowsVirtualMachineScaleSetNetworkInterfaceArgs.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.WindowsVirtualMachineScaleSetNetworkInterfaceArgs.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 dnsServers A list of IP Addresses of DNS Servers which should be assigned to the Network Interface.
* @property enableAcceleratedNetworking Does this Network Interface support Accelerated Networking? Defaults to `false`.
* @property enableIpForwarding Does this Network Interface support IP Forwarding? Defaults to `false`.
* @property ipConfigurations One or more `ip_configuration` blocks as defined above.
* @property name The Name which should be used for this Network Interface. Changing this forces a new resource to be created.
* @property networkSecurityGroupId The ID of a Network Security Group which should be assigned to this Network Interface.
* @property primary Is this the Primary IP Configuration?
* > **Note:** If multiple `network_interface` blocks are specified, one must be set to `primary`.
*/
public data class WindowsVirtualMachineScaleSetNetworkInterfaceArgs(
public val dnsServers: Output>? = null,
public val enableAcceleratedNetworking: Output? = null,
public val enableIpForwarding: Output? = null,
public val ipConfigurations: Output>,
public val name: Output,
public val networkSecurityGroupId: Output? = null,
public val primary: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.compute.inputs.WindowsVirtualMachineScaleSetNetworkInterfaceArgs =
com.pulumi.azure.compute.inputs.WindowsVirtualMachineScaleSetNetworkInterfaceArgs.builder()
.dnsServers(dnsServers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.enableAcceleratedNetworking(enableAcceleratedNetworking?.applyValue({ args0 -> args0 }))
.enableIpForwarding(enableIpForwarding?.applyValue({ args0 -> args0 }))
.ipConfigurations(
ipConfigurations.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.name(name.applyValue({ args0 -> args0 }))
.networkSecurityGroupId(networkSecurityGroupId?.applyValue({ args0 -> args0 }))
.primary(primary?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WindowsVirtualMachineScaleSetNetworkInterfaceArgs].
*/
@PulumiTagMarker
public class WindowsVirtualMachineScaleSetNetworkInterfaceArgsBuilder internal constructor() {
private var dnsServers: Output>? = null
private var enableAcceleratedNetworking: Output? = null
private var enableIpForwarding: Output? = null
private var ipConfigurations:
Output>? = null
private var name: Output? = null
private var networkSecurityGroupId: Output? = null
private var primary: Output? = null
/**
* @param value A list of IP Addresses of DNS Servers which should be assigned to the Network Interface.
*/
@JvmName("avpcgnrvoiybffyt")
public suspend fun dnsServers(`value`: Output>) {
this.dnsServers = value
}
@JvmName("tlvssrxdxedalddh")
public suspend fun dnsServers(vararg values: Output) {
this.dnsServers = Output.all(values.asList())
}
/**
* @param values A list of IP Addresses of DNS Servers which should be assigned to the Network Interface.
*/
@JvmName("mvlmgdhsnxccjcbo")
public suspend fun dnsServers(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy