
com.pulumi.azure.compute.kotlin.outputs.GetOrchestratedVirtualMachineScaleSetNetworkInterface.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.compute.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property acceleratedNetworkingEnabled Is accelerated networking enabled?
* @property dnsServers An array of the DNS servers in use.
* @property ipConfigurations An `ip_configuration` block as documented below.
* @property ipForwardingEnabled Is IP forwarding enabled?
* @property name The name of this Orchestrated Virtual Machine Scale Set.
* @property networkSecurityGroupId The identifier for the network security group.
* @property primary If this ip_configuration is the primary one.
*/
public data class GetOrchestratedVirtualMachineScaleSetNetworkInterface(
public val acceleratedNetworkingEnabled: Boolean,
public val dnsServers: List,
public val ipConfigurations: List,
public val ipForwardingEnabled: Boolean,
public val name: String,
public val networkSecurityGroupId: String,
public val primary: Boolean,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.GetOrchestratedVirtualMachineScaleSetNetworkInterface): GetOrchestratedVirtualMachineScaleSetNetworkInterface =
GetOrchestratedVirtualMachineScaleSetNetworkInterface(
acceleratedNetworkingEnabled = javaType.acceleratedNetworkingEnabled(),
dnsServers = javaType.dnsServers().map({ args0 -> args0 }),
ipConfigurations = javaType.ipConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.compute.kotlin.outputs.GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfiguration.Companion.toKotlin(args0)
})
}),
ipForwardingEnabled = javaType.ipForwardingEnabled(),
name = javaType.name(),
networkSecurityGroupId = javaType.networkSecurityGroupId(),
primary = javaType.primary(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy